levitLazyPutAsync method

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

Registers this asynchronous builder for lazy instantiation.

Parameters:

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

Implementation

void levitLazyPutAsync(
        {String? tag, bool permanent = false, bool isFactory = false}) =>
    Ls.lazyPutAsync(this,
        tag: tag, permanent: permanent, isFactory: isFactory);