toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalGuests != null) 'additionalGuests': additionalGuests!,
      if (comment != null) 'comment': comment!,
      if (displayName != null) 'displayName': displayName!,
      if (email != null) 'email': email!,
      if (id != null) 'id': id!,
      if (optional != null) 'optional': optional!,
      if (organizer != null) 'organizer': organizer!,
      if (resource != null) 'resource': resource!,
      if (responseStatus != null) 'responseStatus': responseStatus!,
      if (self != null) 'self': self!,
    };