getKey<T> method

T? getKey<T>(
  1. A key
)

Implementation

T? getKey<T>(A key) => containsKey(key) ? this[key] as T : null;