RestartWeb class
RestartWeb
provides a web implementation of the Restart
plugin.
It registers a MethodChannel
named 'restart' for communication between the Flutter code
and the platform-specific web code.
The main functionality is provided by the restart
method.
Constructors
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
-
handleMethodCall(
MethodCall call) → Future - Handles method calls from the Flutter code.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restart(
String? webOrigin) → void - Restarts the web app.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void -
Registers this plugin with the given
registrar
.