CacheMiddleware class
- Inheritance
-
- Object
- Middleware
- CacheMiddleware
Constructors
-
CacheMiddleware({Set<
String> ? cacheableMethods, Duration ttl = const Duration(seconds: 15)})
Properties
-
cacheableMethods
→ Set<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttl → Duration
-
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited