DoNotDisturb class

The DoNotDisturb class.

Annotations

Constructors

DoNotDisturb({required bool isDoNotDisturbOn, int? startHour, int? startMin, int? endHour, int? endMin, String? timezone})

Properties

endHour int?
The option ending hour (0~23).
final
endMin int?
The option ending minute (0~59).
final
hashCode int
The hash code for this object.
read-onlyinherited
isDoNotDisturbOn bool
Flag for the option is on or off.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
startHour int?
The option starting hour (0~23).
final
startMin int?
The option starting minute (0~59).
final
timezone String?
Timezone.
final

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

fromJson(Map<String, dynamic> json) DoNotDisturb