get<T extends Object> method
Gets the instance for type T, if available.
Implementation
T? get<T extends Object>([Token<T>? token]) {
token ??= Token<T>();
return _instances[token] as T?;
}
Gets the instance for type T, if available.
T? get<T extends Object>([Token<T>? token]) {
token ??= Token<T>();
return _instances[token] as T?;
}