An injector that resolves provider instances with runtime information.

This type is only accessible internal to AngularDart.

Inheritance
  • Object
  • Injector
  • HierarchicalInjector
  • ReflectiveInjector

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
parent → HierarchicalInjector
@protected, final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

inject<T>({Object token, OrElseInject<T> orElse: throwsNotFound }) → T
injectFromSelf<T>(Object token, { OrElseInject<T> orElse: throwsNotFound }) → T
Injects and returns an object representing token from this injector. [...]
resolveAndCreateChild(List<Object> providersOrLists) ReflectiveInjector
Creates a new child reflective injector from providersOrLists.
resolveAndInstantiate(providerOrType) → dynamic
@Deprecated('Unsupported, here for compatibility only. Remove usage.')
get(Object token, [ Object notFoundValue = throwIfNotFound ]) → dynamic
Returns an instance from the injector based on the provided token. [...]
inherited
injectFromAncestry<T>(Object token, { OrElseInject<T> orElse: throwsNotFound }) → T
Injects and returns an object representing token from ancestors. [...]
@protected, inherited
injectFromParent<T>(Object token, { OrElseInject<T> orElse: throwsNotFound }) → T
Injects and returns an object representing token from the parent. [...]
@protected, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(other) → bool
The equality operator. [...]
inherited

Static Methods

resolveAndCreate(List<Object> providersOrLists, [ HierarchicalInjector parent = const EmptyInjector() ]) ReflectiveInjector
Creates a new SlowInjector by resolving providersOrLists at runtime.