MachineNetworkDetails.fromJson constructor
MachineNetworkDetails.fromJson(
- Map json_
Implementation
MachineNetworkDetails.fromJson(core.Map json_)
: this(
adapters: json_.containsKey('adapters')
? NetworkAdapterList.fromJson(
json_['adapters'] as core.Map<core.String, core.dynamic>)
: null,
primaryIpAddress: json_.containsKey('primaryIpAddress')
? json_['primaryIpAddress'] as core.String
: null,
primaryMacAddress: json_.containsKey('primaryMacAddress')
? json_['primaryMacAddress'] as core.String
: null,
publicIpAddress: json_.containsKey('publicIpAddress')
? json_['publicIpAddress'] as core.String
: null,
);