RequestCacheKey class
RequestCacheKey is a class that represents the key of a request in the cache.
Constructors
-
RequestCacheKey.fromJson(Map<
String, dynamic> json) -
factory
- RequestCacheKey.fromRequestOptions(RequestOptions options)
-
factory
Properties
- cacheExpirationDate → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isCacheExpired → bool
-
no setter
- method → String
-
final
- path → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageKey → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJsonString(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant RequestCacheKey other) → bool -
The equality operator.
override