restartApp method

Future<bool> restartApp({
  1. bool clearData = false,
  2. bool preserveKeychain = false,
  3. bool preserveUserDefaults = false,
  4. bool terminate = true,
})

Restarts the app with the given options.

Returns true if the restart was successful, false otherwise.

Implementation

Future<bool> restartApp({
  bool clearData = false,
  bool preserveKeychain = false,
  bool preserveUserDefaults = false,
  bool terminate = true,
}) {
  throw UnimplementedError('restartApp() has not been implemented.');
}