SolveResult class
The result of a successful version resolution.
Constructors
Properties
- attemptedSolutions → int
-
The number of solutions that were attempted before either finding a
successful solution or exhausting all options.
final
-
availableVersions
→ Map<
String, List< Version> > -
The available versions of all selected packages from their source.
final
-
changedPackages
→ Set<
String> -
Returns the names of all packages that were changed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
packages
→ List<
PackageId> -
The list of concrete package versions that were selected for each package
reachable from the root.
final
-
pubspecs
→ Map<
String, Pubspec> -
A map from package names to the pubspecs for the versions of those
packages that were installed.
final
- resolutionTime → Duration
-
The wall clock time the resolution took.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadCachedPackages(
SystemCache cache) → Future< LockFile> - Downloads all the cached packages selected by this version resolution.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited