operator * method
- num factor
Scales the sequence proportionally by multiplying boundaries and step by factor.
Implementation
NumberLine<T> operator *(num factor) => NumberLine<T>(
(start * factor) as T,
(end * factor) as T,
step: (step * factor) as T,
);