getDouble method

Future<double?> getDouble({
  1. required String key,
})

获取double值 key 存储key part 缓存区类型

Implementation

Future<double?> getDouble({required String key}) {
  if (key.isEmptyString) {
    return Future.value(0.0);
  }
  return _takeData<double>(key, "double");
}