put method

T put(
  1. T instance, {
  2. bool isPermanent = false,
})

Register an eager instance

Implementation

T put(T instance, {bool isPermanent = false}) {
  return _targetScope.put<T>(
    instance,
    tag: tag,
    isPermanent: isPermanent,
  );
}