range static method
Returns a Stream that emits a sequence of Integers within a specified range.
Example
Rx.range(1, 3).listen((i) => print(i)); // Prints 1, 2, 3
Rx.range(3, 1).listen((i) => print(i)); // Prints 3, 2, 1
Implementation
static Stream<int> range(int startInclusive, int endInclusive) =>
RangeStream(startInclusive, endInclusive);