get method
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];
}
Retrieves an item from the cache
Parameters:
Returns: The item associated with the key, or null if the key is not in the cache
dynamic get(String key) {
return _cache[key];
}