DependencyNotFoundException class

Exception thrown when a dependency type is requested but not found in the AirDI container.

Typical cause: Forgetting to register the dependency in the module's onBind method.

Implemented types

Constructors

DependencyNotFoundException(Type type)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
The type of the missing dependency.
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 ==(Object other) bool
The equality operator.
inherited