CachePolicy enum Null safety
Specifies interaction with the cached responses.
- Implemented types
- networkElseCache → const CachePolicy
Queries from the cloud first, if failed, it will queries from the cache instead.
- onlyNetwork → const CachePolicy
Always queries from the cloud.
→ const List<
A constant List of the values in this enum, in order of their declaration.