distinct method

Stream<T> distinct([
  1. bool test(
    1. T previous,
    2. T next
    )?
])

Implementation

Stream<T> distinct([bool Function(T previous, T next)? test]) {
  return test != null ? _subject.distinct(test) : _subject.distinct();
}