tryGetValue<T> abstract method
Gets the value associated with key if it exists.
Returns the cached value, or null if the key is not found.
Sets value to the cached value if found.
Returns true if the key was found.
Implementation
bool tryGetValue<T>(Object key, void Function(T? value) setValue);