SearchTimeRange class final

The time interval used to compose availability info.

Can describe two kinds of intervals: 1. 24-hour interval (isTwentyFourHours is true, from and to are not used). 2. Smaller time interval (isTwentyFourHours is false, from and to are set to the begin and end of the interval)

Available extensions

Constructors

SearchTimeRange({bool? isTwentyFourHours, int? from, int? to})
const

Properties

from int?
Interval start (seconds from midnight).
final
hashCode int
The hash code for this object.
no setteroverride
isTwentyFourHours bool?
All day (24 hours) time range marker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to int?
Interval end (seconds from midnight).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant SearchTimeRange other) bool
The equality operator.
override