Interval class Null safety

Implemented types

Constructors

Interval.between(int a, int b, {bool lowerClosed = false, bool upperClosed = false})
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
lowerBound int
final
lowerClosed bool
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
upperBound int
final
upperClosed bool
final

Methods

adjacentTo(Interval other) bool
comes_before(Interval other) bool
compareTo(dynamic other) int
Compares this object to another object.
override
join(Interval other) Interval
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
overlaps(Interval other) bool
toString() String
A string representation of this object.
override

Operators

operator &(Interval other) Interval
operator ==(Object other) bool
The equality operator.
inherited
operator |(Interval other) Interval

Static Methods

none() Interval