AlarmDropped class final
The alarm is gone and will not ring.
The plugin has already removed it, so there is nothing to cancel. This exists so an application can tell its user in its own words — the plugin deliberately posts nothing, because a notification it owns would sit outside the app's own records and could not be rewritten or cancelled by it.
- Inheritance
-
- Object
- AlarmEvent
- AlarmDropped
Constructors
- AlarmDropped({required int id, required AlarmEventCause cause, required DateTime recordedAt, required DateTime scheduledFor})
-
Creates an AlarmDropped.
const
Properties
- cause → AlarmEventCause
-
Why the host did it.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Id of the alarm this happened to.
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- recordedAt → DateTime
-
When the host recorded this, which may be well before it was delivered.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledFor → DateTime
-
When the alarm should have rung.
final
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.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