saveJson abstract method

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

Saves a JSON map 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 Map<String, dynamic>.

Implementation

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