levitLazyPut method

void levitLazyPut({
  1. String? tag,
  2. bool permanent = false,
  3. bool isFactory = false,
})

Registers this builder for lazy instantiation in the active LevitScope.

Parameters:

  • tag: Optional unique identifier for the instance.
  • permanent: If true, the registration survives a non-forced reset.
  • isFactory: If true, the builder is executed for every find call.

Implementation

void levitLazyPut(
        {String? tag, bool permanent = false, bool isFactory = false}) =>
    Ls.lazyPut<T>(this, tag: tag, permanent: permanent, isFactory: isFactory);