core.Map<core.String, core.dynamic> toJson() => { if (eventId != null) 'eventId': eventId!, if (failureCause != null) 'failureCause': failureCause!, if (kind != null) 'kind': kind!, };