toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completionState != null) 'completionState': completionState!,
      if (completionTime != null) 'completionTime': completionTime!,
      if (startTime != null) 'startTime': startTime!,
      if (step != null) 'step': step!,
    };