get<T> method
Gets the value from the key
of the map stored in context
.
If key
does not exist in the map, orElse
is returned.
Implementation
T get<T>(String key, T orElse) => _context.get(key, orElse);
Gets the value from the key
of the map stored in context
.
If key
does not exist in the map, orElse
is returned.
T get<T>(String key, T orElse) => _context.get(key, orElse);