FlutterFullRestartWeb class
Web implementation of flutter_full_restart.
A browser tab cannot kill its own process, so a full restart reloads the page.
- Inheritance
-
- Object
- PlatformInterface
- FullRestartPlatform
- FlutterFullRestartWeb
Constructors
- FlutterFullRestartWeb()
- Constructs the web implementation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restart(
) → Future< bool> -
Kills the process and cold-starts the app.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void - Called by the generated plugin registrant.