setStorageMap function

Future<bool> setStorageMap(
  1. String key,
  2. Map<String, dynamic> value
)

Implementation

Future<bool> setStorageMap(String key, Map<String, dynamic> value) async {
  return await setStorageString(key, jsonEncode(value));
}