ConstRange<T extends num> class final

Inheritance

Constructors

ConstRange.new(T start, T endInclusive)
const
ConstRange.single(T value)
const

Properties

endInclusive → T
The last value in the range (inclusive).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start → T
The first value in the range.
final

Methods

contains(T value) bool
Checks whether the specified value belongs to the range, is equal to start or endInclusive or lies between them
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

zero → const ConstRange<int>