toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (totalCancellations != null)
        'totalCancellations': totalCancellations!,
      if (totalCompletions != null) 'totalCompletions': totalCompletions!,
      if (totalExecutionTimeForCompletionsMillis != null)
        'totalExecutionTimeForCompletionsMillis':
            totalExecutionTimeForCompletionsMillis!,
      if (totalFailures != null) 'totalFailures': totalFailures!,
    };