dispose method

Future<void> dispose()

Implementation

Future<void> dispose() async {
  await androidController?.onPause();
  await androidController?.onDestroy();

  WidgetsBinding.instance.removeObserver(this);
}