Network.fromJson constructor

Network.fromJson(
  1. Map _json
)

Implementation

Network.fromJson(core.Map _json)
    : this(
        network: _json.containsKey('network')
            ? _json['network'] as core.String
            : null,
        subnetwork: _json.containsKey('subnetwork')
            ? _json['subnetwork'] as core.String
            : null,
        usePrivateAddress: _json.containsKey('usePrivateAddress')
            ? _json['usePrivateAddress'] as core.bool
            : null,
      );