PolicyTopicEntry.fromJson constructor

PolicyTopicEntry.fromJson(
  1. Map json_
)

Implementation

PolicyTopicEntry.fromJson(core.Map json_)
    : this(
        evidences: json_.containsKey('evidences')
            ? (json_['evidences'] as core.List)
                .map((value) => PolicyTopicEvidence.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        helpCenterUrl: json_.containsKey('helpCenterUrl')
            ? json_['helpCenterUrl'] as core.String
            : null,
        missingCertificate: json_.containsKey('missingCertificate')
            ? json_['missingCertificate'] as core.bool
            : null,
        policyTopic: json_.containsKey('policyTopic')
            ? json_['policyTopic'] as core.String
            : null,
      );