Restart.restartApp

Restarts the Flutter application and returns a structured result.
By default, this uses the best supported behavior for the current platform. Pass mode when you want a specific restart path, such as RestartMode.process, RestartMode.flutterEngine, or RestartMode.notificationFallback.

Restart.restartCapability

Returns the restart behavior available on the current platform.
Use this when your app should adapt UI or behavior to the current platform.

RestartMode

RestartResult

RestartCapability