EventSpan enum

Which occurrences of a recurring event an operation applies to.

Used by DeviceCalendar.updateRecurring and DeviceCalendar.deleteRecurring to choose the scope of a change to a recurring series.

Inheritance
Available extensions

Values

allEvents → const EventSpan

The operation applies to every occurrence in the series — past and future.

Clearing the recurrence rule with this span collapses the whole series into a single, non-recurring event. Deleting with this span removes the whole series.

thisAndFollowing → const EventSpan

The operation applies to the supplied occurrence and every occurrence after it; earlier occurrences are left untouched.

The series is split at the occurrence timestamp carried by the instance ID: the original series is truncated to end just before that occurrence, and the occurrence and every later one carry the change.

thisInstance → const EventSpan

The operation applies only to the supplied occurrence; the rest of the series is left untouched.

This detaches that occurrence from the series as an exception. A recurrence rule cannot be set with this span — a single occurrence has no rule of its own.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<EventSpan>
A constant List of the values in this enum, in order of their declaration.