Component class

Annotates an abstract class for which a dependency-injected implementation is to be generated from a set of modules.

Constructors

Component({List<Type> modules, List<Type> dependencies, Type? builder})
const
factory

Properties

builder Type?
Builder for this component.
final
dependencies List<Type>
final
hashCode int
The hash code for this object.
no setterinherited
modules List<Type>
final
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