saveJsonList abstract method

Future<void> saveJsonList({
  1. required String key,
  2. required List<Map<String, dynamic>> data,
})
inherited

Saves a list of JSON objects in the cache with the specified key.

This method is asynchronous and returns a Future<void> that completes when the operation is finished. The data must be a list of JSON objects represented as maps with String keys and dynamic values.

Implementation

Future<void> saveJsonList({required String key, required List<Map<String, dynamic>> data});