ProductViewItemIssueItemIssueSeverity.fromJson constructor

ProductViewItemIssueItemIssueSeverity.fromJson(
  1. Map json_
)

Implementation

ProductViewItemIssueItemIssueSeverity.fromJson(core.Map json_)
    : this(
        aggregatedSeverity: json_.containsKey('aggregatedSeverity')
            ? json_['aggregatedSeverity'] as core.String
            : null,
        severityPerDestination: json_.containsKey('severityPerDestination')
            ? (json_['severityPerDestination'] as core.List)
                .map((value) =>
                    ProductViewItemIssueIssueSeverityPerDestination.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );