core/commands/restart/restart library

Classes

RestartFailed
The hot-restart signal was sent but the first-frame event was not received within the timeout.
RestartNoSession
No PID file was found — the app is not running.
RestartProcessDead
The PID file exists but the process is no longer alive.
RestartResult
Result of a restartApp invocation.
RestartSuccess
The app was successfully hot-restarted; elapsedMs is the wall-clock time.

Functions

restartApp(RestartInput _) Future<RestartResult>
Hot-restarts the running Flutter app referenced by the session's PID file.

Typedefs

RestartInput = ()
Input parameters for restartApp. Empty record because fdb restart takes no arguments today.