dispose method

  1. @override
void dispose()
override

Dispose the App properties.

Implementation

@override
void dispose() {
  _connectivitySubscriptionList?.cancel();
  _connectivitySubscriptionList = null;
  _appState = null;
  // Restore the original error handling.
  _errorHandler?.dispose();
  _errorHandler = null;
}