Skip to content

Deleting object from cache

This method deleted an object from cache if it is present there. All methods are available via Backendless.Cache.[methodname] accessor:

Future<void> Backendless.cache.delete(String key);

where:

Argument                Description
key identifies the object to delete from cache.

Example

Backendless.cache.delete("firstorder").then((result) {
  print("Object has been deleted from cache");
});