update method
Called when the override of a provider changes.
See also:
overrideWithValue
, which relies on update to handle the scenario where the value changed.
Implementation
@protected
@mustCallSuper
void update(ProviderBase<Created, Listened> newProvider) {
_provider = newProvider;
}