has method

Future<bool> has(
  1. String cacheName
)

Returns a Promise that resolves to true if a Cache object matching the cacheName exists. CacheStorage.

Implementation

Future<bool> has(String cacheName) =>
    promiseToFuture(_callMethod(_delegate, 'has', [cacheName]));