CreateEventRequest class

Constructors

CreateEventRequest({required String accountId, String? calendarId, required SpatioEvent event, CreateEventRequestSendUpdatesEnum? sendUpdates, String? conferenceType})
Returns a new CreateEventRequest instance.

Properties

accountId ↔ String
getter/setter pair
calendarId ↔ String?
Specific calendar within the account; omit for the default.
getter/setter pair
conferenceType ↔ String?
When set, the platform will auto-attach a conference link of the matching type (spatio, meet, zoom, teams).
getter/setter pair
event ↔ SpatioEvent
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendUpdates ↔ CreateEventRequestSendUpdatesEnum?
Notification policy passed through to the provider.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → CreateEventRequest?
Returns a new CreateEventRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CreateEventRequest>
mapFromJson(dynamic json) → Map<String, CreateEventRequest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CreateEventRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.