FileArtifactCache class

파일 시스템 ArtifactCache.

앱은 캐시 디렉토리(iOS Library/Caches, Android context.cacheDir, Flutter는 path_provider의 getApplicationCacheDirectory())를 넘긴다 — OS가 비울 수 있는 자리가 맞다. 번들 fallback이 항상 있으므로 캐시가 사라져도 번역 공백은 생기지 않는다.

Implemented types

Constructors

FileArtifactCache(Directory root, {String project = 'default'})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String name) → String?
override
toString() → String
A string representation of this object.
inherited
write(String name, String text) → void
override

Operators

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