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