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