saveJson abstract method
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});