toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final newJobState = this.newJobState;
final newTaskState = this.newTaskState;
final type = this.type;
return {
'newJobState': ?newJobState,
'newTaskState': ?newTaskState,
'type': ?type,
};
}