levitPut method

T levitPut({
  1. String? tag,
  2. bool permanent = false,
})

Executes and registers the result of this builder in the active LevitScope.

Parameters:

  • tag: Optional unique identifier for the instance.
  • permanent: If true, the instance survives a non-forced reset.

Returns the created instance.

Implementation

T levitPut({String? tag, bool permanent = false}) =>
    Ls.put<T>(this, tag: tag, permanent: permanent);