dispose method

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

Clean up resources before the app is finally terminated.

Implementation

@override
@mustCallSuper
void dispose() {
  //
  _app = null;

  _navigatorKey = null;

  super.dispose();
}