toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final errorType = this.errorType;
  final eventType = this.eventType;
  final expireTime = this.expireTime;
  final id = this.id;
  final state = this.state;
  final target = this.target;
  return {
    'createTime': ?createTime,
    'errorType': ?errorType,
    'eventType': ?eventType,
    'expireTime': ?expireTime,
    'id': ?id,
    'state': ?state,
    'target': ?target,
  };
}