NetworkConfig.fromJson constructor

NetworkConfig.fromJson(
  1. Map json_
)

Implementation

NetworkConfig.fromJson(core.Map json_)
    : this(
        egressIps: json_.containsKey('egressIps')
            ? (json_['egressIps'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        egressMode: json_.containsKey('egressMode')
            ? json_['egressMode'] as core.String
            : null,
      );