UpdateShouldNotify<T> typedef

bool UpdateShouldNotify (
  1. T previous,
  2. 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);