Range extension type

on
Implemented types

Constructors

Range(int start, int end)

Properties

end int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
r Base
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setter
start int
finalinherited

Methods

asList() List<int>
compareTo(Range<num> other) int
Compares this object to another object.
inherited
contains(num number) bool
Whether the given number lies within this range.
inherited
includes<S extends num>(Range<S> other) bool
Whether the range other is fully contained by this one.
inherited
intersection(Range other) Range
override
isAdjacent<S extends num>(Range<S> other) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sharesRangeWith<S extends num>(Range<S> other) bool
Whether there is any overlap between this range and other.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator &(Range<num> other) Range<num>
inherited
operator ==(Object other) bool
The equality operator.
inherited