toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (calendarExpansionMax != null)
        'calendarExpansionMax': calendarExpansionMax!,
      if (groupExpansionMax != null) 'groupExpansionMax': groupExpansionMax!,
      if (items != null) 'items': items!,
      if (timeMax != null) 'timeMax': timeMax!.toUtc().toIso8601String(),
      if (timeMin != null) 'timeMin': timeMin!.toUtc().toIso8601String(),
      if (timeZone != null) 'timeZone': timeZone!,
    };