setMap static method

Future<void> setMap(
  1. String key,
  2. Map<String, dynamic> map
)

return Map by given key or value

Implementation

static Future<void> setMap(
  String key,
  Map<String, dynamic> map,
) =>
    setString(key, jsonEncode(map));