write abstract method

Future<void> write(
  1. String key,
  2. Map<String, dynamic> json
)

Write data to storage.

key is the unique key for the query. json is the serialized data and metadata.

Implementation

Future<void> write(String key, Map<String, dynamic> json);