to method

Range<double> to(
  1. double end, {
  2. double? step,
})

Shorthand to create a range of double numbers, starting with the receiver (inclusive) up to but not including end (exclusive).

Implementation

Range<double> to(double end, {double? step}) => DoubleRange(this, end, step);