NetworkConfig.fromJson constructor

NetworkConfig.fromJson(
  1. Map json_
)

Implementation

NetworkConfig.fromJson(core.Map json_)
    : this(
        canIpForward: json_.containsKey('canIpForward')
            ? json_['canIpForward'] as core.bool
            : null,
        enableExternalIps: json_.containsKey('enableExternalIps')
            ? json_['enableExternalIps'] as core.bool
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        queueCount: json_.containsKey('queueCount')
            ? json_['queueCount'] as core.int
            : null,
        subnetwork: json_.containsKey('subnetwork')
            ? json_['subnetwork'] as core.String
            : null,
      );