LogicalNetworkInterface.fromJson constructor

LogicalNetworkInterface.fromJson(
  1. Map json_
)

Implementation

LogicalNetworkInterface.fromJson(core.Map json_)
    : this(
        defaultGateway: json_.containsKey('defaultGateway')
            ? json_['defaultGateway'] as core.bool
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        ipAddress: json_.containsKey('ipAddress')
            ? json_['ipAddress'] as core.String
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        networkType: json_.containsKey('networkType')
            ? json_['networkType'] as core.String
            : null,
      );