restartApp method
Restart the application.
Reload all widgets and states.
You can describe the process at restart by passing onRestart
.
アプリをリスタートします。
すべてのウィジェットや状態をリロードします。
onRestart
を渡すことでリスタート時の処理を記述することができます。
Implementation
Future<void> restartApp({
FutureOr<void> Function()? onRestart,
}) =>
MasamuneApp.restartApp(this, onRestart: onRestart);