put<S> static method
Bind
put<S>(
- S dependency, {
- String? tag,
- bool permanent = false,
- InstanceBuilderCallback<
S> ? builder,
Implementation
static Bind put<S>(S dependency,
{String? tag,
bool permanent = false,
InstanceBuilderCallback<S>? builder}) {
Get.put<S>(dependency, tag: tag, permanent: permanent, builder: builder);
return _FactoryBind<S>(
autoRemove: permanent,
assignId: true,
tag: tag,
);
}