CacheService class
Service to handle caching routines.
Constructors
CacheService : Initializes the cache service and the offline action queue.
Properties
[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::
[offlineActionQueue] [↔ OfflineActionQueue] : Queue for storing user actions to be executed offline. ::: features latefinal :::
[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::
Methods
[executeOrCacheOperation][ [→ Future[<[QueryResult[<[Object?]>]]>]] ] : Executes a GraphQL operation or caches it for offline execution.
[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::
[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::
Operators
[operator ==][([[Object] other]) [→ bool] ] : The equality operator. ::: features inherited :::
Static Properties
[offlineResult] [→ QueryResult[<[Object?]>]] : static graphql result when device is offline. ::: features final :::
- talawa
- cache_service
- CacheService class