DependencyConfig constructor
const
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,
- ModuleConfig? moduleConfig,
- DisposeFunctionConfig? disposeFunction,
Implementation
const 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.moduleConfig,
this.disposeFunction,
});