setEncodeMap method

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

set map and encode 常用于多层map嵌套

Implementation

Future<bool> setEncodeMap(dynamic key, Map<String, dynamic> value) =>
    setObject<String>(key, jsonEncode(value));