put<T> method
Register an existing instance
Use this for eager registration of dependencies.
Implementation
T put<T>(T instance, {String? tag, bool isPermanent = false}) {
ZenLogger.logDebug('Putting $T instance in test container');
return _scope.put<T>(
instance,
tag: tag,
isPermanent: isPermanent,
);
}