MemoryCacheRequestData class

MemoryCacheRequestData is a class that implements ICacheRequestData and manages the cache storage for the requests data in memory using a Map.

Implemented types

Constructors

MemoryCacheRequestData()

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

addRequest({required RequestCacheKey key}) Future<void>
override
clearRequestsData() Future<void>
override
completeRequest({required RequestCacheKey key, Response? response}) Future<void>
override
getRequestKey({required RequestCacheKey key}) Future<RequestCacheKey?>
override
getRequestResponse({required RequestCacheKey key}) Future<Response?>?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRequest({required RequestCacheKey key}) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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