PackedDataCache class

A simple in-memory compressible binary datastore.

Constructors

PackedDataCache({PackedDataCache? existing})
Create a new instance.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalBytes → int
Total bytes for the binary data stored in the cache.
no setter

Methods

addAll(PackedDataCache other) → void
Adds all key/value pairs of other to this map.
containsKey(String key) → bool
Whether this map contains the given key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String? key) → PackedData?
The value for the given key, or null if key is not in the map.
operator []=(String key, PackedData data) → void
Associates the key with the given value.