GoogleChromePolicyVersionsV1ResolvedPolicy.fromJson constructor

GoogleChromePolicyVersionsV1ResolvedPolicy.fromJson(
  1. Map json_
)

Implementation

GoogleChromePolicyVersionsV1ResolvedPolicy.fromJson(core.Map json_)
    : this(
        addedSourceKey: json_.containsKey('addedSourceKey')
            ? GoogleChromePolicyVersionsV1PolicyTargetKey.fromJson(
                json_['addedSourceKey']
                    as core.Map<core.String, core.dynamic>)
            : null,
        sourceKey: json_.containsKey('sourceKey')
            ? GoogleChromePolicyVersionsV1PolicyTargetKey.fromJson(
                json_['sourceKey'] as core.Map<core.String, core.dynamic>)
            : null,
        targetKey: json_.containsKey('targetKey')
            ? GoogleChromePolicyVersionsV1PolicyTargetKey.fromJson(
                json_['targetKey'] as core.Map<core.String, core.dynamic>)
            : null,
        value: json_.containsKey('value')
            ? GoogleChromePolicyVersionsV1PolicyValue.fromJson(
                json_['value'] as core.Map<core.String, core.dynamic>)
            : null,
      );