getAsync<T> method
⌛ Gets a service that requires async initialization. Add these services with IocContainerBuilder.addAsync or IocContainerBuilder.addSingletonAsync You can only use this on factories that return a Future<>. Warning: if the definition is singleton/scoped and the Future fails, the factory will never return a valid value, so use getAsyncSafe to ensure the container doesn't store failed singletons
Implementation
Future<T> getAsync<T>() async => get<Future<T>>();