toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final cycleNumber = this.cycleNumber;
final endTime = this.endTime;
final error = this.error;
final name = this.name;
final progressPercent = this.progressPercent;
final startTime = this.startTime;
final state = this.state;
final steps = this.steps;
final totalPauseDuration = this.totalPauseDuration;
final warnings = this.warnings;
return {
'cycleNumber': ?cycleNumber,
'endTime': ?endTime,
'error': ?error,
'name': ?name,
'progressPercent': ?progressPercent,
'startTime': ?startTime,
'state': ?state,
'steps': ?steps,
'totalPauseDuration': ?totalPauseDuration,
'warnings': ?warnings,
};
}