levitLazyPutAsync method

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

Registers this asynchronous builder for lazy instantiation.

The builder runs when Ls.findAsync is called.

If isFactory is true, the builder runs for every request.

Implementation

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