NetworkAddress.fromJson constructor

NetworkAddress.fromJson(
  1. Map json_
)

Implementation

NetworkAddress.fromJson(core.Map json_)
    : this(
        assignment: json_.containsKey('assignment')
            ? json_['assignment'] as core.String
            : null,
        bcast:
            json_.containsKey('bcast') ? json_['bcast'] as core.String : null,
        fqdn: json_.containsKey('fqdn') ? json_['fqdn'] as core.String : null,
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        subnetMask: json_.containsKey('subnetMask')
            ? json_['subnetMask'] as core.String
            : null,
      );