DoubleRangeExt extension Null safety
Add range extensions to double.
Methods
-
downTo(
double toInclusive) → Range< double> -
Returns a range from this value down to the specified
toInclusivevalue, inclusively. -
rangeTo(
double toInclusive) → Range< double> -
Creates a range from this value to the specified
toInclusivevalue, inclusively. -
upTo(
double toInclusive) → Range< double> -
Alias for
rangeTo(), creates a range from this value to the specifiedtoInclusivevalue, inclusively.