ProjectInfo class

Represents a detected Flutter project with its cache targets.

Constructors

ProjectInfo({required String path, required List<CacheTarget> targets, bool isPriority = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
isPriority bool
Whether this project was found in a priority root.
final
path String
The absolute path to the project root.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targets List<CacheTarget>
List of cache targets found in this project.
final
totalSize int
Total reclaimable size in bytes.
no setter

Methods

copyWith({String? path, List<CacheTarget>? targets, bool? isPriority}) ProjectInfo
Creates a copy of this ProjectInfo 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