DependencyDescriptor constructor
DependencyDescriptor({})
Describes a dependency required by a component or pod.
This class is used to specify the name of the dependency, an optional qualifier (to disambiguate multiple pods of the same type), and whether the dependency is required.
Example
final descriptor = DependencyDesign(
"databaseService",
);
print(descriptor.name); // "databaseService"
Implementation
DependencyDescriptor({
required this.source,
required this.podName,
required this.propertyName,
required this.type,
this.args,
this.component,
this.key,
this.isEager = false,
this.isRequired = true,
this.lookup,
});