get<T> abstract method
T?
get<T>()
Get the data of a specific type.
{String, 'Hello, World!'}
data.get<String>(); // 'Hello, World!'
data.get<User>(); // null
Implementation
T? get<T>();
Get the data of a specific type.
{String, 'Hello, World!'}
data.get<String>(); // 'Hello, World!'
data.get<User>(); // null
T? get<T>();