WpClientInterface class abstract
- Implementers
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
- sessionPath ↔ String?
-
getter/setter pair
Methods
-
dispose(
) → Future< void> -
evaluateJs(
String source, {String? methodName, bool tryPromise, bool forceJsonParseResult}) → Future -
getQrCode(
) → Future< QrCodeImage?> -
initializeEventListener(
OnNewEventFromListener onNewEventFromListener) → Future -
injectJs(
String content) → Future -
isConnected(
) → bool -
loadUrl(
String url) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
String event, [dynamic callback(dynamic)?]) → Future< void> -
Removes
callback, or every callback this client added foreventwhen it is null. Listeners added by other code are left alone. -
on(
String event, dynamic callback(dynamic)) → Future< void> -
Adds
callbackfor a WPPevent. Several callbacks may share an event. -
reload(
) → Future< void> -
restoreListeners(
) → Future< void> - Re-attaches the JS side of every listener after a page reload.
-
takeScreenshot(
) → Future< Uint8List?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited