存储sp中key的map值
static Future<bool> putStringMap(String key, Map value) { var jsonMap = value.ktoJson(); return _prefs.setString(key, jsonMap); }