ValueStream<T> constructor

ValueStream<T>(
  1. Stream<T> _stream,
  2. T _lastVal(), {
  3. bool distinctValues = true,
})

Implementation

ValueStream(
  this._stream,
  this._lastVal, {
  this.distinctValues = true,
}) : lastKnownHashcode = ComparableWrapper(_lastVal()).hashCode;