matchesState<S extends BlocState> method

bool matchesState<S extends BlocState>()

Returns true if this status is for the given state type.

Implementation

bool matchesState<S extends BlocState>() => this is StreamStatus<S>;