NetworkConnection.fromJson constructor
NetworkConnection.fromJson(
- Map json_
Implementation
NetworkConnection.fromJson(core.Map json_)
: this(
localIpAddress: json_.containsKey('localIpAddress')
? json_['localIpAddress'] as core.String
: null,
localPort: json_.containsKey('localPort')
? json_['localPort'] as core.int
: null,
pid: json_.containsKey('pid') ? json_['pid'] as core.String : null,
processName: json_.containsKey('processName')
? json_['processName'] as core.String
: null,
protocol: json_.containsKey('protocol')
? json_['protocol'] as core.String
: null,
remoteIpAddress: json_.containsKey('remoteIpAddress')
? json_['remoteIpAddress'] as core.String
: null,
remotePort: json_.containsKey('remotePort')
? json_['remotePort'] as core.int
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);