ServiceDescriptorImpl constructor

ServiceDescriptorImpl({
  1. required Type bindingType,
  2. required Type serviceType,
  3. required bool optional,
  4. required List<Condition> conditions,
  5. required List<InjectorKey> dependencies,
  6. required List<InjectorKey> optionalDependencies,
  7. required List<InjectorKey> publications,
  8. required FutureOr instantiateFunc(
    1. Injector
    ),
  9. required FutureOr<void> startFunc(
    1. DarwinSystem,
    2. dynamic
    ),
  10. required FutureOr<void> stopFunc(
    1. DarwinSystem,
    2. 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,
});