Get a value from the cache by key.
@override T? get<T>(String key) { if (_cache.containsKey(key)) { return _cache[key] as T?; } return null; }