CacheService class

Service to interact with FVM Cache

Constructors

CacheService(FVMContext? context)
const

Properties

context → FVMContext
Gets context, if no context is passed will get from scope
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllVersions() Future<List<CacheFlutterVersion>>
Lists Installed Flutter SDK Version
getVersion(FlutterVersion version) CacheFlutterVersion?
Returns a CacheFlutterVersion from a version
getVersionCacheDir(String version) Directory
moveToSdkVersionDiretory(CacheFlutterVersion version) → void
Moves a CacheFlutterVersion to the cache of sdkVersion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(FlutterVersion version) → void
Removes a Version of Flutter SDK
toString() String
A string representation of this object.
inherited
verifyCacheIntegrity(CacheFlutterVersion version) Future<CacheIntegrity>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

fromContext CacheService
Directory where local versions are cached
no setter