UpdateShouldNotify<T> typedef

UpdateShouldNotify<T> = bool Function(T previous, T current)

Signature of predicate function that use to compare Bloc objects.

Implementation

typedef UpdateShouldNotify<T> = bool Function(T previous, T current);