Snooze class

A Snooze will prevent any alerts from being opened, and close any that are already open.

The Snooze will work on alerts that match the criteria defined in the Snooze. The Snooze will be active from interval.start_time through interval.end_time.

Constructors

Snooze({Criteria? criteria, String? displayName, TimeInterval? interval, String? name})
Snooze.fromJson(Map json_)

Properties

criteria Criteria?
This defines the criteria for applying the Snooze.
getter/setter pair
displayName String?
A display name for the Snooze.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interval TimeInterval?
The Snooze will be active from interval.start_time through interval.end_time.
getter/setter pair
name String?
The name of the Snooze.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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