lazyFactory<T extends Object> function

void lazyFactory<T extends Object>(
  1. T builder(), {
  2. String? named,
})

Implementation

void lazyFactory<T extends Object>(
  T Function() builder, {
  String? named,
}) {
  DIManager.lazyFactory<T>(
    () => builder(),
    named: named,
  );
}