distinctWith<S> method

Stream<S> distinctWith<S>(
  1. S field(
    1. T event
    )
)

use for FlowR.stream or flowr.FrViewModel.stream

.distinctBy((event) => event.foo)

Implementation

Stream<S> distinctWith<S>(S Function(T event) field) => map(field).distinct();