toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'argv'] = this.argv;
if (this.command != null) {
json[r'command'] = this.command;
} else {
json[r'command'] = null;
}
if (this.dir != null) {
json[r'dir'] = this.dir;
} else {
json[r'dir'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.stdin != null) {
json[r'stdin'] = this.stdin;
} else {
json[r'stdin'] = null;
}
if (this.timeoutSec != null) {
json[r'timeoutSec'] = this.timeoutSec;
} else {
json[r'timeoutSec'] = null;
}
return json;
}