dispose<N extends BaseNotifier<T>, T> abstract method

void dispose<N extends BaseNotifier<T>, T>(
  1. BaseProvider<N, T> provider
)

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

void dispose<N extends BaseNotifier<T>, T>(BaseProvider<N, T> provider);