ScanResult class
Aggregates scan results from multiple roots.
Constructors
-
ScanResult({List<
ProjectInfo> priorityProjects = const [], List<ProjectInfo> defaultProjects = const [], List<CacheTarget> globalTargets = const []})
Properties
-
allProjects
→ List<
ProjectInfo> -
Gets all projects (priority and default combined).
no setter
-
defaultProjects
→ List<
ProjectInfo> -
Projects found in default roots.
final
-
globalTargets
→ List<
CacheTarget> -
Global cache targets found.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
priorityProjects
→ List<
ProjectInfo> -
Projects found in priority roots (user-specified).
final
- projectCount → int
-
Total number of projects found.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalSize → int
-
Total reclaimable size in bytes.
no setter
Methods
-
copyWith(
{List< ProjectInfo> ? priorityProjects, List<ProjectInfo> ? defaultProjects, List<CacheTarget> ? globalTargets}) → ScanResult - Creates a copy of this ScanResult with updated fields.
-
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