to method
List<T>
to(
- T to, {
- T? step,
Returns a range from this value up to and including the specified to
value.
Implementation
List<T> to(T to, {T? step}) => range(this, to: to, step: step);