InstanceNetworkConfig.fromJson constructor

InstanceNetworkConfig.fromJson(
  1. Map json_
)

Implementation

InstanceNetworkConfig.fromJson(core.Map json_)
    : this(
        authorizedExternalNetworks:
            json_.containsKey('authorizedExternalNetworks')
                ? (json_['authorizedExternalNetworks'] as core.List)
                    .map((value) => AuthorizedNetwork.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        enablePublicIp: json_.containsKey('enablePublicIp')
            ? json_['enablePublicIp'] as core.bool
            : null,
      );