mayNeedDispose method

  1. @protected
  2. @visibleForOverriding
void mayNeedDispose()

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() {}