put method
Register an instance
Implementation
T put(T instance, {bool? isPermanent}) {
if (scope != null) {
return scope!.put<T>(
instance,
tag: tag,
isPermanent: isPermanent ?? false,
);
} else {
return Zen.put<T>(instance, tag: tag, isPermanent: isPermanent);
}
}