getVault<T> method

Vault<T>? getVault<T>(
  1. String name
)

Gets an existing Vault

  • name: The name of the cache

Implementation

Vault<T>? getVault<T>(String name) {
  return get<T, Vault<T>>(name);
}