cacheAllPlaces method

void cacheAllPlaces(
  1. List<Place> places
)

Caches all places data with current login state.

Implementation

void cacheAllPlaces(List<Place> places) {
  _allPlacesCache = List.from(places);
  _lastCacheTime = DateTime.now();
  _wasLoggedInWhenCached = authStateNotifier.value;
}