toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final endTime = this.endTime;
  final errorMessage = this.errorMessage;
  final startTime = this.startTime;
  final state = this.state;
  final type = this.type;
  return {
    'endTime': ?endTime,
    'errorMessage': ?errorMessage,
    'startTime': ?startTime,
    'state': ?state,
    'type': ?type,
  };
}