ManagedZonePrivateVisibilityConfig.fromJson constructor

ManagedZonePrivateVisibilityConfig.fromJson(
  1. Map json_
)

Implementation

ManagedZonePrivateVisibilityConfig.fromJson(core.Map json_)
    : this(
        gkeClusters: json_.containsKey('gkeClusters')
            ? (json_['gkeClusters'] as core.List)
                .map((value) =>
                    ManagedZonePrivateVisibilityConfigGKECluster.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        networks: json_.containsKey('networks')
            ? (json_['networks'] as core.List)
                .map((value) =>
                    ManagedZonePrivateVisibilityConfigNetwork.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );