getString method

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

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

Implementation

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