RangeTo class
A range only bounded exclusively above (..end). The RangeTo ..end contains all values with x < end. It cannot be used as an Iterable because it doesn’t have a starting point.
- Implemented types
Properties
Methods
-
contains(
int val) → bool -
Returns true if
val
is contained in this range.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
slice<
T> (List< T> list) → Slice<T> -
Creates a slice from
list
based on this range.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited