getValue<T> method

T? getValue<T>(
  1. ContextKey key
)

Returns the value from this context identified by key, or null if no such value is set.

Implementation

T? getValue<T>(ContextKey key) => _zone[key];