GoogleChromePolicyVersionsV1DefineNetworkResponse.fromJson constructor

GoogleChromePolicyVersionsV1DefineNetworkResponse.fromJson(
  1. Map json_
)

Implementation

GoogleChromePolicyVersionsV1DefineNetworkResponse.fromJson(core.Map json_)
    : this(
        networkId: json_.containsKey('networkId')
            ? json_['networkId'] as core.String
            : null,
        settings: json_.containsKey('settings')
            ? (json_['settings'] as core.List)
                .map((value) =>
                    GoogleChromePolicyVersionsV1NetworkSetting.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        targetResource: json_.containsKey('targetResource')
            ? json_['targetResource'] as core.String
            : null,
      );