JavaScriptExecutor class abstract

Abstract interface for JavaScript execution

Implementers

Constructors

JavaScriptExecutor()

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

execute(String script) → Future
Execute JavaScript code and return the result
extractVariables(String script, {List<String>? variableNames}) → Future<Map<String, dynamic>?>
Extract variables from JavaScript code (async)
extractVariablesSync(String script, List<String>? variableNames) → dynamic
Extract variables from JavaScript code (synchronous)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset the runtime to start fresh (call once per QueryString.execute())
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited