DummyApiInterface class

A dummy implementation of the AbstractApiInterface for testing purposes.

Implemented types

Constructors

DummyApiInterface.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEvent(CalendarMonthEvent event) Future<CalendarMonthEvent>
Creates a new calendar event.
override
deleteEvent(String eventId) Future<void>
Deletes a calendar event.
override
fetchDayEvents({String? templateId, required DateTime displayDate, required bool parentElementsOnly}) Future<List<CalendarMonthEvent>>
Fetches the calendar events for a specific day.
override
fetchMonthEvents({String? templateId, required DateTime displayDate, required bool parentElementsOnly}) Future<List<CalendarMonthEvent>>
Fetches the calendar events for a specific month.
override
fetchWeekEvents({String? templateId, required DateTime displayDate, required bool parentElementsOnly}) Future<List<CalendarMonthEvent>>
Fetches the calendar events for a specific week.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateEvent(CalendarMonthEvent event) Future<CalendarMonthEvent>
Updates an existing calendar event.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

allDummyEvents List<CalendarMonthEvent>
A list of all dummy events.
final