children method

  1. @protected
Option<Iterable<DI>> children()
inherited

Retrieves an iterable of child DI instances.

Implementation

@protected
Option<Iterable<DI>> children() {
  UNSAFE:
  return childrenContainer.map(
    (e) => e.registry.unsortedDependencies.map(
      (e) => e
          .transf<Lazy<DI>>()
          .value
          .unwrapSync()
          .unwrap()
          .singleton
          .unwrapSync()
          .unwrap(),
    ),
  );
}