afterUpdate abstract method
void
afterUpdate(
- T oldValue,
- T newValue
Called immediately after a value has been updated.
This method can be used to perform actions or side effects after a state change has occurred. It is called after the internal state has been modified but before any notifications are sent to listeners.
Parameters:
oldValue: The previous value before the updatenewValue: The new current value after the update
Implementation
void afterUpdate(T oldValue, T newValue);