DependencyCycleError class

Thrown when resolving key re-enters its own Dependency.create before the first call has finished - i.e. a dependency, directly or indirectly, depends on itself.

Inheritance

Constructors

DependencyCycleError(DependencyKey key)
Thrown for key - see the class-level docs above.

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → DependencyKey
The key whose creation cycled back on itself.
final
runtimeType → DependencyKey
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
The stack trace at the point where this error was first thrown.
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.
override

Operators

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