getBool method
获取bool值
key
存储key
part
缓存区类型
Implementation
Future<bool?> getBool(String key, {MMkvPart part = MMkvPart.normal}) {
if (key.isEmptyString) {
return Future.value(false);
}
return _takeData<bool>(key, "bool", part);
}
获取bool值
key
存储key
part
缓存区类型
Future<bool?> getBool(String key, {MMkvPart part = MMkvPart.normal}) {
if (key.isEmptyString) {
return Future.value(false);
}
return _takeData<bool>(key, "bool", part);
}