delete abstract method

FutureOr<void> delete(
  1. KeyT key
)

Deletes the data associated with key.

If key does not exist, this method should do nothing. This method will usually be called by NotifierPersistX.persist when either StorageOptions.destroyKey changes or StorageOptions.cacheTime expires.

Implementation

FutureOr<void> delete(KeyT key);