next property

T get next

Implementation

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