get<T> method
Implementation
T? get<T>(TypedKey<T> key) {
final calc = _cache[key] as T Function()?;
if (calc == null) {
return null;
}
return calc();
}
T? get<T>(TypedKey<T> key) {
final calc = _cache[key] as T Function()?;
if (calc == null) {
return null;
}
return calc();
}