toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (eventTime != null) 'eventTime': eventTime!,
if (eventType != null) 'eventType': eventType!,
if (reason != null) 'reason': reason!,
if (value != null) 'value': value!,
};