toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accessRole != null) 'accessRole': accessRole!,
if (backgroundColor != null) 'backgroundColor': backgroundColor!,
if (colorId != null) 'colorId': colorId!,
if (conferenceProperties != null)
'conferenceProperties': conferenceProperties!,
if (defaultReminders != null) 'defaultReminders': defaultReminders!,
if (deleted != null) 'deleted': deleted!,
if (description != null) 'description': description!,
if (etag != null) 'etag': etag!,
if (foregroundColor != null) 'foregroundColor': foregroundColor!,
if (hidden != null) 'hidden': hidden!,
if (id != null) 'id': id!,
if (kind != null) 'kind': kind!,
if (location != null) 'location': location!,
if (notificationSettings != null)
'notificationSettings': notificationSettings!,
if (primary != null) 'primary': primary!,
if (selected != null) 'selected': selected!,
if (summary != null) 'summary': summary!,
if (summaryOverride != null) 'summaryOverride': summaryOverride!,
if (timeZone != null) 'timeZone': timeZone!,
};