SubRange class Null safety

Constructors

SubRange(int low, int high)
const

Properties

hashCode int
The hash code for this object.
read-onlyoverride
high int
final
length int
final
low int
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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