SubRange class

Constructors

SubRange(int low, int high)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
high int
final
length int
final
low int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(SubRange range) SubRange
Returns inclusive combination of SubRanges as a SubRange.
covers(SubRange range) bool
isBefore(SubRange range) bool
isInside(SubRange range) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overlaps(SubRange range) bool
subtract(SubRange range) List<SubRange>
Returns subtraction of SubRanges as an array of SubRanges. (There's a case where subtraction divides it in 2)
toString() String
A string representation of this object.
override
touches(SubRange range) bool

Operators

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