getValue<T> method

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

Implementation

T? getValue<T>(String key) {
  return containsKey(key) ? this[key]! as T : null;
}