toJson method

Map<String, dynamic> toJson()

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!,
    };