whereUniques<T extends Object?> method
Filter with whereStates
State
's that do not match T
are filtered out,
the resulting Stream will be of Type T
.
Implementation
Stream<T> whereUniques<T extends Object?>(
bool Function(State state) filter) =>
whereStates<T>(filter).distinct();