ScriptEngine class
Script Engine để thực thi các script logic
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
executeScript(
String script, Map< String, dynamic> context, [Map<String, dynamic> ? params]) → dynamic - Thực thi script với context và params
-
registerDefaultFunctions(
) → void - Đăng ký các function mặc định cho navigation
-
registerFunction(
String name, Function function) → void - Đăng ký một function với tên cụ thể