toJson method

Map<String, dynamic> toJson()

Implementation

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