ModuleDependencyResolver class

Resolves transitive module dependencies and returns a topologically sorted list suitable for generation.

Constructors

ModuleDependencyResolver.new()
Creates a new ModuleDependencyResolver.
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

dependentsOf(IModuleCodeContributor module, List<IModuleCodeContributor> allModules) List<IModuleCodeContributor>
Returns a list of modules that directly depend on module within the provided allModules collection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(List<IModuleCodeContributor> selectedModules) List<IModuleCodeContributor>
Returns a list where dependencies appear before dependents using only the provided module instances.
toString() String
A string representation of this object.
inherited

Operators

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