get method

dynamic get(
  1. String key
)

Retrieves an item from the cache

  • Parameters:

    • key: The key of the item to retrieve
  • Returns: The item associated with the key, or null if the key is not in the cache

Implementation

dynamic get(String key) {
  return _cache[key];
}