JsEvaluator class abstract

Abstract interface for evaluating JavaScript code.

Implementations must provide thread-safe JavaScript execution with proper context isolation.

Implementers

Constructors

JsEvaluator()

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

dispose() → void
Disposes resources used by this evaluator.
evaluate(String code, Map<String, dynamic> context) → dynamic
Evaluates JavaScript code with the given context.
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.

Operators

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