DependencyConfig constructor
DependencyConfig({
- required ImportableType type,
- required ImportableType typeImpl,
- int injectableType = InjectableType.factory,
- List<
InjectedDependency> dependencies = const [], - String? instanceName,
- bool? signalsReady,
- List<
String> environments = const [], - String? constructorName = '',
- bool isAsync = false,
- List<
ImportableType> dependsOn = const [], - bool preResolve = false,
- bool canBeConst = false,
- ModuleConfig? moduleConfig,
- DisposeFunctionConfig? disposeFunction,
- int orderPosition = 0,
- String? scope,
- bool postConstructReturnsSelf = false,
- String? postConstruct,
Implementation
DependencyConfig({
required this.type,
required this.typeImpl,
this.injectableType = InjectableType.factory,
this.dependencies = const [],
this.instanceName,
this.signalsReady,
this.environments = const [],
this.constructorName = '',
this.isAsync = false,
this.dependsOn = const [],
this.preResolve = false,
this.canBeConst = false,
this.moduleConfig,
this.disposeFunction,
this.orderPosition = 0,
this.scope,
this.postConstructReturnsSelf = false,
this.postConstruct,
});