dispose method
dispose the notifier linked to this provider
Only call this if autoDispose is disabled
Implementation
void dispose({bool avoidOnDisposeCallback = false}) {
// assert(_mounted, 'this provider does not have a notifier linked yet');
if (_mounted) {
if (avoidOnDisposeCallback) {
_onDisposed = null;
}
_ref!.dispose();
ProviderScope.instance.containers.remove(hashCode);
}
}