get<T> method

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

根据key获取

Implementation

T? get<T>(TypedKey<T> key) => _data[key] as T?;