Methods
-
acceptCalendarEntry({required CalendarEntry calendarEntry, required String userId})
→ Future<CalendarEntry?>
-
-
cancelCalendarEntry({required CalendarEntry calendarEntry, required String? cancelMessage, required String userId})
→ Future<CalendarEntry?>
-
-
createCalendarEntry({required String? placeToMeet, required Instant date, required String? message, required ContentElement activity, required User receiver})
→ Future<CalendarEntry?>
-
Creates a new calendar entry to a given activity. Returns the
CalendarEntry
that was sent to the receiver on success, null on error. Note
that the returned CalendarEntry has the invitation status for each participant
of the event.
-
getCalendarEntries({required Instant fromDate, required Instant endDate, required int limit, required String userId})
→ Future<BuiltList<CalendarEntry>>
-
Retrieve all calendar entries between two dates.
states==null || states.len==0, will retrieve all calendar entries
independing of the invitation status of the user
states!=null && states.len!=0, only will retrieve calendar entries
which their invitation status for the user match with any of the target statuses
-
getCalendarEntry({required String id})
→ Future<CalendarEntry?>
-
Retrieves a single calendar entry by
id. Returns null if calendar
entry is not found.
-
getPendingCalendarEntries({required String userId})
→ Future<BuiltList<CalendarEntry>>
-
Get all calendar entries when in its invitation statuses for current user is sent or if is accepted
but the other participant cancelled it.
In resume, all invitations which need an action from the current user
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
rescheduleCalendarEntry({required CalendarEntry calendarEntry, required String? placeToMeet, required String? message, required Instant date, required String userId})
→ Future<CalendarEntry?>
-
Reschedules a calendar entry.
-
toString()
→ String
-
A string representation of this object.
inherited