registerService<T extends InqvineServiceBase> method
Register an service which extends InqvineServiceBase.
initializeService
is then called.
Implementation
Future<void> registerService<T extends InqvineServiceBase>(T service) async {
'Registering a new service: $service'.logDebug();
_locator.registerSingleton<T>(service);
await service.initializeService();
}