Injector class abstract

An class used to access instances of an specified type without knowing the concrete type or value.

Only one should exist per scope, and if more than one is being used in the program, they should NOT mix InjectableConsumers. Doing so is an Error!

Constructors

Injector(void updates(InjectorScopeBuilder))
Create an Injector from the changes on a InjectorScopeBuilder
factory
Injector.debug(InjectorScope root)
Create an Injector from an root InjectorScope. It must not be used normally. Useful for debugging purposes.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
root InjectorScope
The root scope for this Injector
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited