Precondition<S> typedef
Precondition<S> =
bool Function(S previousState, S newState)
Signature of predicate function that use to compare states of Bloc.
Implementation
typedef Precondition<S> = bool Function(S previousState, S newState);