HTTPCaching class

Inheritance

Constructors

HTTPCaching({required Future<String?> getter(String key), required Future<String> setter(String key, String value)})

Properties

getter Future<String?> Function(String key)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setter Future<String> Function(String key, String value)
final

Methods

afterResponse(Response response) Future<void>
override
beforeRequest(Request request, void cancel(Response)) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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