disposeLifecycle method

  1. @override
  2. @mustCallSuper
void disposeLifecycle()
override

Disposes of any resources held by this object.

This should be called when the object is no longer needed to clean up any resources and prevent memory leaks.

Implementation

@override
@mustCallSuper
void disposeLifecycle() {
  _isLifecycleMounted = false;
}