dispose method

  1. @override
void dispose()
override

Dispose the state

Implementation

@override
void dispose() {
  _controller?.dispose();
  _controller == null;
  _removeFromInjectedList?.call();
  _resetDefaultState();
  super.dispose();
}