NetworkConfig.fromJson constructor

NetworkConfig.fromJson(
  1. Map json_
)

Implementation

NetworkConfig.fromJson(core.Map json_)
    : this(
        dnsServerIp: json_.containsKey('dnsServerIp')
            ? json_['dnsServerIp'] as core.String
            : null,
        managementCidr: json_.containsKey('managementCidr')
            ? json_['managementCidr'] as core.String
            : null,
        managementIpAddressLayoutVersion:
            json_.containsKey('managementIpAddressLayoutVersion')
                ? json_['managementIpAddressLayoutVersion'] as core.int
                : null,
        vmwareEngineNetwork: json_.containsKey('vmwareEngineNetwork')
            ? json_['vmwareEngineNetwork'] as core.String
            : null,
        vmwareEngineNetworkCanonical:
            json_.containsKey('vmwareEngineNetworkCanonical')
                ? json_['vmwareEngineNetworkCanonical'] as core.String
                : null,
      );