TimeRange class
Properties
- durationInMinutes → int
-
Get the duration of the range
no setter
- end → Time
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isValid → bool
-
Check if
TimeRange
is validno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → Time
-
final
Methods
-
contains(
Time checkTime) → bool -
earlyOrSameTime(
TimeRange other) → bool -
isCross(
TimeRange other) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
upTo(
Time end) → TimeRange
Operators
-
operator <=(
TimeRange other) → bool -
operator ==(
dynamic other) → bool -
The equality operator.
override
-
operator >=(
TimeRange other) → bool