DropRange<T> constructor

DropRange<T>(
  1. Iterable<T> _iterable,
  2. int _count
)

Creates a DropRange that skips the first _count elements of _iterable.

Implementation

DropRange(this._iterable, this._count) {
  if (_count < 0) {
    throw ArgumentError.value(
      _count,
      'count',
      'Must be greater than or equal to zero',
    );
  }
}