PdfMemoryImageCache class

Memory image cache

Inheritance
Annotations

Constructors

PdfMemoryImageCache()
Create a memory image 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
inherited
clear() Future<void>
Clear the cache
inherited
contains(String key) Future<bool>
Does the cache contains this data?
inherited
get(String key) Future<Uint8List?>
Retrieve some data from the cache
inherited
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
inherited
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