DependencyConfig constructor

const 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. ModuleConfig? moduleConfig,
  13. 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,
});