CliGlobalHolder class
Holder for the cli global variable.
This enables two-phase initialization:
- Registration: Creates the holder during bridge registration
- Initialization: Sets the controller when REPL is ready
Constructors
Properties
- controller → D4rtCliController
-
Gets the controller, throwing if not initialized.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Whether the holder has been initialized.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initialize(
D4rtCliController controller) → void - Initializes the holder with a controller.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets the holder (for testing).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited