get<T> static method

T? get<T>()

Looks up instance of type T, if exists. Returns null if instance of type T is not found.

Implementation

static T? get<T>() {
  return _hashStore[T.toString()] as T?;
}