delete method

Future<bool> delete(
  1. String cacheName
)

Finds the Cache object matching the cacheName, and if found, deletes the Cache object and returns a Promise that resolves to true. If no Cache object is found, it returns false.

Implementation

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