get<T> method

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

Gets a value from the session.

Implementation

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