MasterAuthorizedNetworksConfig.fromJson constructor

MasterAuthorizedNetworksConfig.fromJson(
  1. Map json_
)

Implementation

MasterAuthorizedNetworksConfig.fromJson(core.Map json_)
    : this(
        cidrBlocks: json_.containsKey('cidrBlocks')
            ? (json_['cidrBlocks'] as core.List)
                .map((value) => CidrBlock.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        gcpPublicCidrsAccessEnabled:
            json_.containsKey('gcpPublicCidrsAccessEnabled')
                ? json_['gcpPublicCidrsAccessEnabled'] as core.bool
                : null,
      );