disposeFamilyParam<N extends FamilyNotifier<dynamic, P, dynamic> , P> method
void
disposeFamilyParam<N extends FamilyNotifier<dynamic, P, dynamic> , P>(
- BaseProvider<
N, dynamic> provider, - P param
override
Disposes the param
of a family provider
.
While the ordinary dispose method disposes the whole provider,
this method only disposes the param
.
Calling this method multiple times has no effect.
Implementation
@override
void disposeFamilyParam<N extends FamilyNotifier<dynamic, P, dynamic>, P>(
BaseProvider<N, dynamic> provider,
P param,
) {
final notifier = _getState(provider);
notifier.disposeParam(param, this);
}