ServiceDescriptorImpl constructor
ServiceDescriptorImpl({
- required Type bindingType,
- required Type serviceType,
- required bool optional,
- required List<
Condition> conditions, - required List<
InjectorKey> dependencies, - required List<
InjectorKey> optionalDependencies, - required List<
InjectorKey> publications, - required FutureOr instantiateFunc(
- Injector
- required FutureOr<
void> startFunc(- DarwinSystem,
- dynamic
- required FutureOr<
void> stopFunc(- DarwinSystem,
- dynamic
Implementation
ServiceDescriptorImpl({
required this.bindingType,
required this.serviceType,
required this.optional,
required this.conditions,
required this.dependencies,
required this.optionalDependencies,
required this.publications,
required this.instantiateFunc,
required this.startFunc,
required this.stopFunc,
});