A class that maps KalenderEvents to dates.
- Implementers
Constructors
Properties
-
events
→ Iterable<
KalenderEvent> -
A iterable of all KalenderEvents in the store.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addNewEvent(
KalenderEvent event) → String -
Add a new
eventto the map. -
byId(
String id) → KalenderEvent? - Retrieve a KalenderEvent by it's id if it exists.
-
clear(
) → void - Clear all events.
-
eventIdsInRange(
FloatingDateTimeRange range, Location? location) → Set< String> -
Retrieves the IDs of events that occur during the specified
range. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeById(
String id) → void - Remove an event by its id.
-
removeEvent(
KalenderEvent event) → void -
Remove the
event. -
removeEvents(
List< KalenderEvent> events) → void - Remove a list of KalenderEvents.
-
removeWhere(
bool test(String key, KalenderEvent element)) → void -
Remove events where where
testreturns true. -
toString(
) → String -
A string representation of this object.
inherited
-
updateEvent(
KalenderEvent event, KalenderEvent updatedEvent) → void -
Update an
eventin the map with theupdatedEvent.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited