next property

T next

Implementation

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