get<V> method
Implementation
V get<V>(String key) {
if (_context.containsKey(_key)) {
final context = _context[_key]!;
final value = context[key];
return value as V;
}
throw StateError("Context '$_key' not found");
}