getJson abstract method

Future<CacheResponse<Map<String, dynamic>?>> getJson({
  1. required String key,
})
inherited

Retrieves a JSON map from the cache associated with the specified key.

This method is asynchronous and returns a Map<String, dynamic>?. It returns the JSON map if it exists, or null if no data is found for the key.

Implementation

Future<CacheResponse<Map<String, dynamic>?>> getJson({required String key});