FlutterJsEvaluator class

Flutter implementation of JsEvaluator using flutter_js package.

Uses QuickJS engine for JavaScript execution on mobile/desktop platforms.

Implemented types

Constructors

FlutterJsEvaluator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtime → JavascriptRuntime
Gets or creates the JavaScript runtime.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes resources used by this evaluator.
override
evaluate(String code, Map<String, dynamic> context) → dynamic
Evaluates JavaScript code with the given context.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateCode(String code) → void
Validates that the JavaScript code is safe to execute.
override

Operators

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