restartApp method
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.');
}