cache<T> static method
Implementation
static Future<T> cache<T>(
String name, {
bool? cached,
Iterable<Object?> keyProps = const [],
required Future<T> Function() callback,
}) {
return i.put(name, cached: cached, keyProps: keyProps, callback: callback);
}