get<T> method
This cannot be used before the store is initialised Due to the fact services may implement AsyncInit
Implementation
@override
T get<T>() {
final entry = registry[T];
if (entry == null) {
throw Exception('$T is not registered (Store)');
}
return entry.instance as T;
}