toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final eventType = this.eventType;
final level = this.level;
final timeLength = this.timeLength;
final timeUnit = this.timeUnit;
return {
'eventType': ?eventType,
'level': ?level,
'timeLength': ?timeLength,
'timeUnit': ?timeUnit,
};
}