getNewFeedAndRefreshCache method
Fetches new data from the API if online, updates the cache, and returns the data.
If offline, loads and returns cached data.
params: None
returns:
Future<List<T>>
: A Future containing a list of the latest data.
Implementation
Future<List<T>> async
- talawa
- base_feed_manager
- BaseFeedManager<[T>]
- getNewFeedAndRefreshCache method