RepeatRange<T> constructor

RepeatRange<T>(
  1. T _value, [
  2. int? _bound
])

Implementation

RepeatRange(this._value, [this._bound]) {
  if (_bound != null && _bound < 0) {
    throw ArgumentError('Bound cannot be negative.');
  }
}