put<S> abstract method

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

Registers a dependency in the current scope.

Creates the instance immediately with builder. If permanent is true, deletion requires force semantics at scope level.

Implementation

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