mayNeedDispose method
Life-cycle for when a listener is removed.
See also:
AutoDisposeProviderElementMixin
, which overrides this method to destroy the state of a provider when no longer used.
Implementation
@protected
@visibleForOverriding
void mayNeedDispose() {}