getInjector method

Injector getInjector({
  1. String? name,
})

Gets the Injector.

Implementation

Injector getInjector({String? name}) {
  return InjectorRegistry.instance.get(name: name);
}