toJson method
Implementation
Map<String, dynamic> toJson() {
final launchedAt = this.launchedAt;
final name = this.name;
final parentPid = this.parentPid;
final path = this.path;
final pid = this.pid;
final terminatedAt = this.terminatedAt;
return {
if (launchedAt != null) 'LaunchedAt': launchedAt,
if (name != null) 'Name': name,
if (parentPid != null) 'ParentPid': parentPid,
if (path != null) 'Path': path,
if (pid != null) 'Pid': pid,
if (terminatedAt != null) 'TerminatedAt': terminatedAt,
};
}