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