AccountIssue.fromJson constructor

AccountIssue.fromJson(
  1. Map json_
)

Implementation

AccountIssue.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')
            ? AccountIssueImpact.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,
      );