Skip to main content

fetchEventsInitial method

[Future<[void>]]

Fetches the initial set of events, loading from the cache first, and then refreshing the feed.

This method loads events from the cache, adds them to the event stream, and then triggers a feed refresh to fetch the latest events from the API and update the stream accordingly.

params: None

returns: None

Implementation

Future<void>  async 
  1. talawa
  2. event_service
  3. EventService
  4. fetchEventsInitial method
EventService class