ProductIssue.fromJson constructor

ProductIssue.fromJson(
  1. Map json_
)

Implementation

ProductIssue.fromJson(core.Map json_)
    : this(
        actions: json_.containsKey('actions')
            ? (json_['actions'] as core.List)
                .map((value) => Action.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        impact: json_.containsKey('impact')
            ? ProductIssueImpact.fromJson(
                json_['impact'] as core.Map<core.String, core.dynamic>)
            : null,
        prerenderedContent: json_.containsKey('prerenderedContent')
            ? json_['prerenderedContent'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );