getCache<T> method

Cache<T>? getCache<T>(
  1. String name
)

Gets an existing Cache

  • name: The name of the cache

Implementation

Cache<T>? getCache<T>(String name) {
  return get<T, Cache<T>>(name);
}