get<T> method

T? get<T>()

Return the object of type T from the map, if it has been stored.

Implementation

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