resolve<T> method
Implementation
@override
Future<T> resolve<T>() async {
final entry = registry[T];
if (entry == null) {
throw Exception('$T is not registered (Store)');
}
final instance = await (entry.future as Future<T>);
return instance;
}