AlarmUpdateKind enum
The kind of change carried by an AlarmUpdateEvent.
Values
- added → const AlarmUpdateKind
-
An alarm was added (scheduled).
- updated → const AlarmUpdateKind
-
An existing alarm changed (state, schedule, or countdown duration).
- removed → const AlarmUpdateKind
-
An alarm was removed (cancelled, stopped, or completed).
- unknown → const AlarmUpdateKind
-
An event kind this version of the plugin does not recognize.
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
Static Methods
-
fromRaw(
String? raw) → AlarmUpdateKind - Maps a raw event string from the platform channel to an AlarmUpdateKind. Unrecognized values map to AlarmUpdateKind.unknown.
Constants
-
values
→ const List<
AlarmUpdateKind> - A constant List of the values in this enum, in order of their declaration.