init method

Initializes the module by creating an injector and registering dependencies.

Returns the created CustomAutoInjector instance.

Implementation

Future<CustomAutoInjector> init() async {
  Logger.log('$runtimeType init!');
  validateImports();
  injector = CustomAutoInjector();
  await registerBinds(injector!);
  return injector!;
}