PdfMemoryCache class
Memory cache
- Inheritance
-
- Object
- PdfBaseCache
- PdfMemoryCache
- Implementers
Constructors
- PdfMemoryCache.new()
- Create a memory cache
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
-
add(
String key, Uint8List bytes) → Future< void> -
Add some data to the cache
override
-
clear(
) → Future< void> -
Clear the cache
override
-
contains(
String key) → Future< bool> -
Does the cache contains this data?
override
-
get(
String key) → Future< Uint8List?> -
Retrieve some data from the cache
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → Future< void> -
Remove some data from the cache
override
-
resolve(
{required String name, required Uri uri, bool cache = true, Map< String, String> ? headers}) → Future<Uint8List> -
Resolve the data
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited