TimeOfDayRange class
A range of TimeOfDay.
- Annotations
Constructors
- TimeOfDayRange({required TimeOfDay start, required TimeOfDay end})
-
Creates a time range for the given start and end TimeOfDay.
const
Properties
- duration → Duration
-
Returns a Duration of the time between start and end.
no setter
- end → TimeOfDay
-
The end point of the range.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → TimeOfDay
-
The start point of the range.
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 ==(
Object other) → bool -
The equality operator.
override