toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (errorType != null) 'errorType': errorType!,
  if (eventType != null) 'eventType': eventType!,
  if (expireTime != null) 'expireTime': expireTime!,
  if (id != null) 'id': id!,
  if (state != null) 'state': state!,
  if (target != null) 'target': target!,
};