Alarm class

Constructors

Alarm({required String name, required double scheduledTime, double? periodInMinutes, required bool persistAcrossSessions})
Alarm.fromJS(Alarm _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
Name of this alarm.
getter/setter pair
periodInMinutes ↔ double?
If not null, the alarm is a repeating alarm and will fire again in periodInMinutes minutes.
getter/setter pair
persistAcrossSessions ↔ bool
Whether the alarm should persist across sessions (browser restarts).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduledTime ↔ double
Time at which this alarm was scheduled to fire, in milliseconds past the epoch (e.g. Date.now() + n). For performance reasons, the alarm may have been delayed an arbitrary amount beyond this.
getter/setter pair
toJS → Alarm
no setter

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