cacheExists method

Future<bool> cacheExists(
  1. String key
)

判断指定key的缓存是否存在

Implementation

Future<bool> cacheExists(String key) async {
  return await cacheOptions?.store?.exists(key) ?? false;
}