didChanged<T> abstract method

bool didChanged<T>(
  1. StateRef<T> ref,
  2. T oldState,
  3. T newState,
  4. Object? action,
)

Called when a state changed. This method must return true if the changes have been handled and other observers must no be called, or false if other observers can be called.

Implementation

bool didChanged<T>(StateRef<T> ref, T oldState, T newState, Object? action);