Injectable class
Classes, annotated with Injectable are able to be managed by an environment This is also an indicator for the code-generator to emit the meta-data.
- Inheritance
-
- Object
- ClassAnnotation
- Injectable
Constructors
- Injectable({bool factory = true, bool eager = true, bool replace = false, String scope = 'singleton'})
-
const
Properties
Methods
-
apply(
TypeDescriptor type) → void -
callback executed by the type infrastructure
type
theTypeDescriptor
of the annotated classoverride -
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