get<T> method

T get<T>(
  1. TKey key
)

Shorthand for using "as" to cast the dynamic value

Implementation

T get<T>(TKey key) => this[key] as T;