Provide class

Annotation to use on a class factory or constructor

  • the return type is entered into the dependency graph. The method will be executed with injected arguments when the return type is injected.

The type provided by this annotation can be further specified by including a Qualifier annotation.

Constructors

Provide()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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