dispose method

  1. @protected
  2. @mustCallSuper
  3. @override
void dispose()
override

Clean up memory Called when garbage collecting

Implementation

@protected
@mustCallSuper
@override
void dispose() {
  _controllers.clear();
  _MapOfStates._states.clear();
  _clearRootStateX();
  super.dispose();
}