CacheDuration class
Cache duration constants.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Constants
- defaultDuration → const Duration
- Default cache duration for movie data (1 hour).
- longDuration → const Duration
- Long cache duration for rarely changing data (24 hours).
- shortDuration → const Duration
- Short cache duration for frequently changing data (15 minutes).