remove method

void remove(
  1. String key
)

Removes the item with the given key from the cache

Implementation

void remove(String key) {
  _cache?.removeWhere((element) => element.key == key);
}