CacheService class
Service for managing local package category cache
Constructors
Properties
Methods
-
clear(
) → Future< void> - Clear the cache
-
get(
String packageName) → PackageCategory? - Get package from cache
-
initialize(
) → Future< void> - Initialize cache
-
isValid(
PackageCategory category) → bool - Check if cache entry is valid
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
String packageName, PackageCategory category) → Future< void> - Save package to cache
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- cacheFilePath → String
-
Get cache file path
no setter