BoundInvocation class

The invocation passed to a DiBinding.boundHandler (FR-007).

Adds a dependencies map to the original CliInvocation, carrying the resolved instances from the host's DiContainer.

Constructors

BoundInvocation({required CliInvocation invocation, required Map<String, Object?> dependencies})
const

Properties

dependencies → Map<String, Object?>
The resolved dependencies, keyed by DependencyRequest.name.
final
hashCode → int
The hash code for this object.
no setterinherited
invocation → CliInvocation
The original invocation, with its parsed args and flags.
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
toString() → String
A string representation of this object.
inherited

Operators

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