flutter_cache_strategy library
Classes
- AsyncOrCacheStrategy
- First, triggering the remote call, if an error is throw, the strategy will trigger the fetchCacheData which will attempt to retrieve the corresponding data stored in the cache.
- CacheOrAsyncStrategy
- The strategy will first call the cache to try and retrieve the corresponding stored data.
- FlutterCacheStrategy
- JustAsyncStrategy
- Just call the remote with the usual Rest behaviour.
- JustCacheStrategy
- Just try to get the corresponding data from the cache.