toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (runDuration != null) 'runDuration': runDuration!,
if (state != null) 'state': state!,
if (statusEvents != null) 'statusEvents': statusEvents!,
if (taskGroups != null) 'taskGroups': taskGroups!,
};