dispose<N extends BaseNotifier<T> , T> method
Disposes a provider
.
Be aware that streams (ref.stream) are closed also.
You may call this method in the dispose method of a stateful widget.
Calling this method multiple times has no effect.
Note: The provider
will be initialized again on next access.
Implementation
@override
void dispose<N extends BaseNotifier<T>, T>(
BaseProvider<N, T> provider,
) {
internalDispose(provider, this);
}