isWaitingFor<S extends BlocState> method

bool isWaitingFor<S extends BlocState>()

Returns true if this is a WaitingStatus for the given state type.

Implementation

bool isWaitingFor<S extends BlocState>() =>
    this is StreamStatus<S> && this is WaitingStatus;