AlarmCreateInfo class

Constructors

AlarmCreateInfo({String? name, double? when, double? delayInMinutes, double? periodInMinutes, bool? persistAcrossSessions})
AlarmCreateInfo.fromJS(AlarmCreateInfo _wrapped)

Properties

delayInMinutes ↔ double?
Length of time in minutes after which the onAlarm event should fire.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String?
Name of this alarm.
getter/setter pair
periodInMinutes ↔ double?
If set, the onAlarm event should fire every periodInMinutes minutes after the initial event specified by when or delayInMinutes. If not set, the alarm will only fire once.
getter/setter pair
persistAcrossSessions ↔ bool?
Whether the alarm should persist across sessions (browser restarts). In Chrome, this defaults to true to match historical behavior, but you should set this explicitly to maximize compatibility across browsers.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → AlarmCreateInfo
no setter
when ↔ double?
Time at which the alarm should fire, in milliseconds past the epoch (e.g. Date.now() + n).
getter/setter pair

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