onPreRunApp method

  1. @override
  2. @mustCallSuper
FutureOr<void> onPreRunApp()
override

You can describe the process before runApp.

runApp前の処理を記述することができます。

Implementation

@override
@mustCallSuper
FutureOr<void> onPreRunApp() async {
  if (_router != null) {
    for (final tmp in routeQueries) {
      _router?.registerPage(tmp);
    }
  }
  for (final tmp in masamuneAdapters) {
    await tmp.onPreRunApp();
  }
}