update method
Executes callback
, and notifies the listeners about the update.
If callback
is provided, it will be executed before notifying the listeners.
If callback
is not provided, an empty function will be executed.
Implementation
@override
@mustCallSuper
void update([Function? callback]) {
return super.update(callback ?? () {});
}