FlutterFullRestartWeb class
Web implementation of flutter_full_restart.
A browser tab cannot kill its own process, so both restart types reload 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(
{required bool killProcess}) → Future< bool> -
Performs the restart.
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.