toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (eventType != null) 'eventType': eventType!,
  if (failurePolicy != null) 'failurePolicy': failurePolicy!,
  if (resource != null) 'resource': resource!,
  if (service != null) 'service': service!,
};