put method
Register this instance in the DI container
Implementation
T put({
String? tag,
bool? isPermanent,
ZenScope? scope,
}) {
if (scope != null) {
return scope.put<T>(
this,
tag: tag,
isPermanent: isPermanent ?? false,
);
} else {
return Zen.put<T>(this, tag: tag, isPermanent: isPermanent);
}
}