toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (localIpAddress != null) 'localIpAddress': localIpAddress!,
if (localPort != null) 'localPort': localPort!,
if (pid != null) 'pid': pid!,
if (processName != null) 'processName': processName!,
if (protocol != null) 'protocol': protocol!,
if (remoteIpAddress != null) 'remoteIpAddress': remoteIpAddress!,
if (remotePort != null) 'remotePort': remotePort!,
if (state != null) 'state': state!,
};