Injector.empty constructor

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

Creates an empty Injector.

Implementation

factory Injector.empty({String? name}) {
  return _EmptyInjector();
}