next property

T get next

Implementation

T get next {
  if (_idx >= _vals.length) {
    _idx = 0;
  }
  return _vals[_idx++];
}