DependencyConfig constructor

DependencyConfig({
  1. required ImportableType type,
  2. required ImportableType typeImpl,
  3. int injectableType = InjectableType.factory,
  4. List<InjectedDependency> dependencies = const [],
  5. String? instanceName,
  6. bool? signalsReady,
  7. List<String> environments = const [],
  8. String? constructorName = '',
  9. bool isAsync = false,
  10. List<ImportableType> dependsOn = const [],
  11. bool preResolve = false,
  12. bool canBeConst = false,
  13. ModuleConfig? moduleConfig,
  14. DisposeFunctionConfig? disposeFunction,
  15. int orderPosition = 0,
  16. String? scope,
  17. bool postConstructReturnsSelf = false,
  18. 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,
});