DependencyConfig constructor
const
DependencyConfig({
- required ImportableType type,
- required ImportableType typeImplementation,
- required InjectionModuleConfig injectionModuleConfig,
- @Default(DependencyType.factory) DependencyType dependencyType,
- @Default([]) List<
InjectedDependency> dependencies, - @Default([]) List<
String> environments, - @Default(false) bool isAsync,
- @Default(false) bool preResolve,
- String? instanceName,
- String? constructorName,
- ExternalModuleConfig? externalModuleConfig,
- DisposeFunctionConfig? disposeFunctionConfig,
Implementation
const factory DependencyConfig({
required ImportableType type,
required ImportableType typeImplementation,
required InjectionModuleConfig injectionModuleConfig,
@Default(DependencyType.factory) DependencyType dependencyType,
@Default([]) List<InjectedDependency> dependencies,
@Default([]) List<String> environments,
@Default(false) bool isAsync,
@Default(false) bool preResolve,
String? instanceName,
String? constructorName,
ExternalModuleConfig? externalModuleConfig,
DisposeFunctionConfig? disposeFunctionConfig,
}) = _DependencyConfig;