DependencyResolver class
Resolves the full, ordered dependency graph for a component.
Given a component name, returns a list of all components that must be
installed (dependencies first, then the component itself), excluding any
components listed in alreadyInstalled.
Throws ArgumentError if the component or any transitive dependency is not found in the BrickRegistry.
Constructors
- DependencyResolver()
-
const
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
-
collectPubDependencies(
List< String> componentNames) → List<String> -
Collects all pub.dev dependencies required by
componentNames. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
String componentName, {Set< String> alreadyInstalled = const {}}) → List<String> -
Returns an ordered installation list for
componentName. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited