toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (anyoneCanAddSelf != null) 'anyoneCanAddSelf': anyoneCanAddSelf!,
      if (attachments != null) 'attachments': attachments!,
      if (attendees != null) 'attendees': attendees!,
      if (attendeesOmitted != null) 'attendeesOmitted': attendeesOmitted!,
      if (colorId != null) 'colorId': colorId!,
      if (conferenceData != null) 'conferenceData': conferenceData!,
      if (created != null) 'created': created!.toUtc().toIso8601String(),
      if (creator != null) 'creator': creator!,
      if (description != null) 'description': description!,
      if (end != null) 'end': end!,
      if (endTimeUnspecified != null)
        'endTimeUnspecified': endTimeUnspecified!,
      if (etag != null) 'etag': etag!,
      if (eventType != null) 'eventType': eventType!,
      if (extendedProperties != null)
        'extendedProperties': extendedProperties!,
      if (focusTimeProperties != null)
        'focusTimeProperties': focusTimeProperties!,
      if (gadget != null) 'gadget': gadget!,
      if (guestsCanInviteOthers != null)
        'guestsCanInviteOthers': guestsCanInviteOthers!,
      if (guestsCanModify != null) 'guestsCanModify': guestsCanModify!,
      if (guestsCanSeeOtherGuests != null)
        'guestsCanSeeOtherGuests': guestsCanSeeOtherGuests!,
      if (hangoutLink != null) 'hangoutLink': hangoutLink!,
      if (htmlLink != null) 'htmlLink': htmlLink!,
      if (iCalUID != null) 'iCalUID': iCalUID!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (location != null) 'location': location!,
      if (locked != null) 'locked': locked!,
      if (organizer != null) 'organizer': organizer!,
      if (originalStartTime != null) 'originalStartTime': originalStartTime!,
      if (outOfOfficeProperties != null)
        'outOfOfficeProperties': outOfOfficeProperties!,
      if (privateCopy != null) 'privateCopy': privateCopy!,
      if (recurrence != null) 'recurrence': recurrence!,
      if (recurringEventId != null) 'recurringEventId': recurringEventId!,
      if (reminders != null) 'reminders': reminders!,
      if (sequence != null) 'sequence': sequence!,
      if (source != null) 'source': source!,
      if (start != null) 'start': start!,
      if (status != null) 'status': status!,
      if (summary != null) 'summary': summary!,
      if (transparency != null) 'transparency': transparency!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
      if (visibility != null) 'visibility': visibility!,
      if (workingLocationProperties != null)
        'workingLocationProperties': workingLocationProperties!,
    };