BuildOrderComputer class

Computes build order for Dart projects using topological sort.

Uses Kahn's algorithm to sort projects so that dependencies are built before their dependents.

Constructors

BuildOrderComputer()

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

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

Static Methods

computeBuildOrder(List<String> allProjectPaths, {bool includeDev = false}) List<String>?
Compute build order for the given project paths.
getProjectName(String projectPath) String
Get project name from pubspec.yaml, or folder basename as fallback.