CacheToLocal class
Constructors
-
CacheToLocal({Input<
CompressionType> ? compression, Input<int> ? compressionLevel, required Input<String> dest, Input<bool> ? forceCompression, Input<bool> ? ignoreError, Input<CacheMode> ? mode}) -
Creates a new CacheToLocal.
compressionThe compression type to use.compressionLevelCompression level from 0 to 22.destPath of the local directory to export the cache.forceCompressionForcefully apply compression.ignoreErrorIgnore errors caused by failed cache exports.modeThe cache mode to use. Defaults tomin.const -
CacheToLocal.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
compression
→ Input<
CompressionType> ? -
The compression type to use.
final
-
compressionLevel
→ Input<
int> ? -
Compression level from 0 to 22.
final
-
dest
→ Input<
String> -
Path of the local directory to export the cache.
final
-
forceCompression
→ Input<
bool> ? -
Forcefully apply compression.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreError
→ Input<
bool> ? -
Ignore errors caused by failed cache exports.
final
-
mode
→ Input<
CacheMode> ? -
The cache mode to use. Defaults to
min.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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited