put<S> static method
Creates a binding and puts the specified dependency into the GetX service locator.
Returns the binding created.
Implementation
static Bind<dynamic> put<S>(
S dependency, {
String? tag,
bool permanent = false,
}) {
Get.put<S>(dependency, tag: tag, permanent: permanent);
return _FactoryBind<S>(
autoRemove: permanent,
assignId: true,
tag: tag,
);
}