toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (calendars != null) 'calendars': calendars!,
  if (groups != null) 'groups': groups!,
  if (kind != null) 'kind': kind!,
  if (timeMax != null) 'timeMax': timeMax!.toUtc().toIso8601String(),
  if (timeMin != null) 'timeMin': timeMin!.toUtc().toIso8601String(),
};