Dependency class
An value representing the type of an value which is injectable, and it's injected, concrete form.
Constructors
-
Dependency(Maybe<
Type?> type, Object dep, {ValueKind valueKind = ValueKind.node}) -
Create an Dependency.
const
Properties
- dep → Object
-
The injected/regular value.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Maybe<
Type?> -
The Type that was registered in the Injector. It is None if the type
was not injected. An Consumer for example.
final
- valueKind → ValueKind
-
The kind of this value
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override