range method
Returns a rang bewteen the start and end values. If no start or end are specified, an 'infinite' stream will be returned.
Implementation
Range range([start, end]) {
if (start == null) {
return Range.asStream();
} else if (end == null) {
return Range(start);
} else {
return Range.withStart(start, end);
}
}