PolicyCompliance.fromJson constructor

PolicyCompliance.fromJson(
  1. Map json_
)

Implementation

PolicyCompliance.fromJson(core.Map json_)
    : this(
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        topics: json_.containsKey('topics')
            ? (json_['topics'] as core.List)
                .map((value) => PolicyTopicEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );