until method

List<T> until(
  1. T until, {
  2. T? step,
})

Returns a range from this value up to but excluding the specified to value.

Implementation

List<T> until(T until, {T? step}) => range(this, until: until, step: step);