Injector.empty constructor

const Injector.empty()

Creates an injector that has no providers.

Can be used as the root injector in a hierarchy to form the default implementation (for provider not found).

Implementation

const factory Injector.empty() = _EmptyInjector;