DoubleRange class Null safety

Inheritance

Constructors

DoubleRange({Bound<double>? lowerBound, Bound<double>? upperBound})
DoubleRange.empty()
DoubleRange.parse(String range)
factory

Properties

empty bool
latefinalinherited
hashCode int
The hash code for this object.
read-onlyinherited
isDiscrete bool
read-onlyinherited
lowerBound LowerBound<double>
finalinherited
notEmpty bool
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
upperBound UpperBound<double>
finalinherited

Methods

comparator(double value1, double value2) int
Returns a negative number if value1 is less than value2, zero if they are equal, and a positive number if value1 is greater than value2. Almost the same: value1 - value2
override
contains(Range<double> range) bool
inherited
containsElement(double element) bool
inherited
createRange({Bound<double>? lowerBound, Bound<double>? upperBound, bool empty = false}) Range<double>
override
difference(Range<double> range) Range<double>
  • inherited
    equal(Range<double> range) bool
    inherited
    intersection(Range<double> range) Range<double>
    empty *
    inherited
    isAdjacentTo(Range<double> range) bool
    inherited
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a non-existent method or property is accessed.
    inherited
    notEqual(Range<double> range) bool
    inherited
    notExtendToTheLeftOf(Range<double> range) bool
    inherited
    notExtendToTheRightOf(Range<double> range) bool
    inherited
    overlap(Range<double> range) bool
    inherited
    strictlyLeftOf(Range<double> range) bool
    inherited
    strictlyRightOf(Range<double> range) bool
    inherited
    toString() String
    A string representation of this object.
    inherited
    union(Range<double> range) Range<double>
    result of range union would not be contiguous +
    inherited

    Operators

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