RepeatRange<T> constructor
- T _value, [
- int? _bound
Implementation
RepeatRange(this._value, [this._bound]) {
if (_bound != null && _bound < 0) {
throw ArgumentError('Bound cannot be negative.');
}
}
RepeatRange(this._value, [this._bound]) {
if (_bound != null && _bound < 0) {
throw ArgumentError('Bound cannot be negative.');
}
}