delete method

Future<bool> delete(
  1. String primaryKey, {
  2. String? requestMethod,
  3. String? subKey,
})

delete local cache by primaryKey and optional subKey

Implementation

Future<bool> delete(String primaryKey,
        {String? requestMethod, String? subKey}) =>
    _manager.delete("${_getRequestMethod(requestMethod)}-$primaryKey",
        subKey: subKey);