NetworkInterface.fromJson constructor

NetworkInterface.fromJson(
  1. Map json_
)

Implementation

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