PlacesCacheManager class

In-memory cache manager for instant access to places data.

Constructors

PlacesCacheManager()
factory

Properties

allPlaces List<Place>?
Gets all cached places (local + Pod)
no setter
hashCode int
The hash code for this object.
no setterinherited
podPlaces List<Place>?
Gets cached Pod places only.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wasLoggedInWhenCached bool?
Gets the login state when cache was created.
no setter

Methods

cacheAllPlaces(List<Place> places) → void
Caches all places data with current login state.
cachePodPlaces(List<Place> places) → void
Caches Pod places data.
clearCache() → void
Clears all in-memory cache.
clearPodCacheOnly() → void
Clears only Pod-related cache, preserves local places structure allPlaces cache is cleared because it contains merged data.
invalidateCache() → void
Forces cache refresh on next fetch.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited