toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (jobId != null) 'jobId': jobId!,
  if (reportTime != null) 'reportTime': reportTime!,
  if (state != null) 'state': state!,
  if (taskGroupId != null) 'taskGroupId': taskGroupId!,
  if (tasks != null) 'tasks': tasks!,
};