lazyPut<S> abstract method

void lazyPut<S>(
  1. S builder(), {
  2. String? tag,
  3. bool permanent = false,
  4. bool isFactory = false,
})

Lazily registers a dependency using builder.

If isFactory is true, builder runs on each resolution. If permanent is true, registration survives regular scope resets.

Implementation

void lazyPut<S>(S Function() builder,
    {String? tag, bool permanent = false, bool isFactory = false});