RenderProductIssuesResponse.fromJson constructor

RenderProductIssuesResponse.fromJson(
  1. Map json_
)

Implementation

RenderProductIssuesResponse.fromJson(core.Map json_)
    : this(
        alternateDisputeResolution:
            json_.containsKey('alternateDisputeResolution')
                ? AlternateDisputeResolution.fromJson(
                    json_['alternateDisputeResolution']
                        as core.Map<core.String, core.dynamic>)
                : null,
        issues: json_.containsKey('issues')
            ? (json_['issues'] as core.List)
                .map((value) => ProductIssue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );