get<T> method

T? get<T>(
  1. String key
)

Get a context attribute.

Implementation

T? get<T>(String key) {
  return _attributes[key] as T?;
}