QuietWindow class

A daily quiet window in minutes past midnight. When startMinute < endMinute it is a same-day window [start, end); when startMinute > endMinute it WRAPS past midnight (e.g. 1320420 is 22:00–07:00). The two bounds must differ (a zero-length window mutes nothing; a full-day mute has no well-defined end).

Constructors

QuietWindow(int startMinute, int endMinute)
Creates a window from startMinute to endMinute (0..1440), wrapping when start > end. Audited: 2026-06-12 11:26 EDT
const

Properties

endMinute int
Exclusive end minute past midnight.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startMinute int
Inclusive start minute past midnight.
final

Methods

containsMinute(int minuteOfDay) bool
Whether minuteOfDay falls inside this window, honoring midnight wrap. Audited: 2026-06-12 11:26 EDT
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