NetworkInterface.fromJson constructor

NetworkInterface.fromJson(
  1. Map json_
)

Implementation

NetworkInterface.fromJson(core.Map json_)
    : this(
        externalIp: json_.containsKey('externalIp')
            ? json_['externalIp'] as core.String
            : null,
        internalIp: json_.containsKey('internalIp')
            ? json_['internalIp'] as core.String
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        subnetwork: json_.containsKey('subnetwork')
            ? json_['subnetwork'] as core.String
            : null,
      );