Expiration class
- Inheritance
-
- Object
- CacheControlDirective
- Expiration
Constructors
- Expiration(String _name, Duration duration)
-
const
- Expiration.maxAge(Duration duration)
-
const
- Expiration.maxStale(Duration duration)
-
const
- Expiration.minFresh(Duration duration)
-
const
- Expiration.sMaxAge(Duration duration)
-
const
- Expiration.staleIfError(Duration duration)
-
const
- Expiration.staleWhileRevalidation(Duration duration)
-
const
Properties
Methods
-
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