D4rtConfiguration class
Complete configuration snapshot of a D4rt interpreter instance.
This class provides a comprehensive view of the interpreter's current state, including all registered bridges, permissions, and settings.
Constructors
-
D4rtConfiguration({required List<
ImportConfiguration> imports, required List<PermissionInfo> permissions, required List<GlobalVariableInfo> globalVariables, required List<GlobalGetterInfo> globalGetters, required List<GlobalFunctionInfo> globalFunctions, required bool debugEnabled}) -
const
Properties
- debugEnabled → bool
-
Whether debug logging is enabled.
final
-
globalFunctions
→ List<
GlobalFunctionInfo> -
List of registered global functions with their library sources.
final
-
globalGetters
→ List<
GlobalGetterInfo> -
List of registered global getters with their library sources.
final
-
globalVariables
→ List<
GlobalVariableInfo> -
List of registered global variables with their library sources.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imports
→ List<
ImportConfiguration> -
List of all registered import libraries with their associated bridges.
final
-
permissions
→ List<
PermissionInfo> -
List of all currently granted permissions.
final
- 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
-
toJson(
) → Map< String, dynamic> - Converts this configuration to a JSON-serializable map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited