Abstract base class for all cache writers.
Each scanner in the hierarchy has two responsibilities:
- Prepare data for caching (write path)
- Load cached data into usable form (read path)
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- projectRoot → Directory
-
The project root directory.
final
- 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
-
write(
{required String fingerprint, bool forTests = false}) → Future< CacheSummary> - Writes all cache data to disk and returns a summary.
-
writeWithComponents(
{required List< ClassDeclaration> components, required String fingerprint, bool forTests = false}) → Future<CacheSummary> - Writes components to binary cache and returns the full summary.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited