# DependencyDesign constructor

DependencyDesign({

1. String? name,
2. bool prototypeInSingleton = false,

})

Creates a DependencyDesign with the given `name`, optional `qualifier`, and required flag.

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

    DependencyDesign({this.name, this.prototypeInSingleton = false});