restartApp method

Future<void> restartApp()

Hands the staged update to the native installer or restart helper.

Implementation

Future<void> restartApp() async {
  _beginInstallAttempt();
  try {
    await _restartApp();
  } finally {
    _endInstallAttempt();
  }
}