distinct method

Flow<T> distinct()

Return a new flow that only emits values that are considered different using the == operator of the type

Implementation

Flow<T> distinct() {
  return DistinctFlow(this);
}