whereUniques<T extends Object?> method

Stream<T> whereUniques<T extends Object?>(
  1. bool filter(
    1. State state
    )
)
inherited

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();