get<T> method
Gets the value associated with key.
Returns the cached value, or null if not found.
Implementation
T? get<T>(Object key) {
T? result;
tryGetValue<T>(key, (value) => result = value);
return result;
}
Gets the value associated with key.
Returns the cached value, or null if not found.
T? get<T>(Object key) {
T? result;
tryGetValue<T>(key, (value) => result = value);
return result;
}