toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (context != null) 'context': context!,
if (eventTime != null) 'eventTime': eventTime!,
if (message != null) 'message': message!,
if (serviceContext != null) 'serviceContext': serviceContext!,
};