NetworkConfig.fromJson constructor

NetworkConfig.fromJson(
  1. Map json_
)

Implementation

NetworkConfig.fromJson(core.Map json_)
    : this(
        connectionType: json_.containsKey('connectionType')
            ? json_['connectionType'] as core.String
            : null,
        ipAllocation: json_.containsKey('ipAllocation')
            ? json_['ipAllocation'] as core.String
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        privateServiceConnectConfig:
            json_.containsKey('privateServiceConnectConfig')
                ? PrivateServiceConnectConfig.fromJson(
                    json_['privateServiceConnectConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );