toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completeWorkStatus != null)
        'completeWorkStatus': completeWorkStatus!,
      if (harnessData != null) 'harnessData': harnessData!,
      if (hotKeyDetection != null) 'hotKeyDetection': hotKeyDetection!,
      if (leaseExpireTime != null) 'leaseExpireTime': leaseExpireTime!,
      if (metricShortId != null) 'metricShortId': metricShortId!,
      if (nextReportIndex != null) 'nextReportIndex': nextReportIndex!,
      if (reportStatusInterval != null)
        'reportStatusInterval': reportStatusInterval!,
      if (splitRequest != null) 'splitRequest': splitRequest!,
      if (suggestedStopPoint != null)
        'suggestedStopPoint': suggestedStopPoint!,
      if (suggestedStopPosition != null)
        'suggestedStopPosition': suggestedStopPosition!,
    };