Expiration class

Inheritance

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

duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
name String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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