UpdateShouldNotify<T> typedef

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

A function that returns true when the update from previous to current should notify listeners, if any.

See also:

Implementation

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