putString method
保存string数据
key
存储key
value
string value
part
缓存区类型
Implementation
Future<String?> putString(String key, {String value = "", MMkvPart part = MMkvPart.normal}) {
if (key.isEmptyString) {
return Future.value("");
}
return _cacheData<String>(key, value, "string", part);
}