injector property
Injector
get
injector
The injector on which the component instance exists.
Implementation
Injector get injector => _hostView.injector(0);
The injector on which the component instance exists.
Injector get injector => _hostView.injector(0);