singleWithParams<T> function
Implementation
Bind singleWithParams<T>(
_FactoryFuncParams<T> factory, {
String? named,
bool replaceIfExists = false,
}) {
return Bind<T>._internal(
factoryFuncParams: factory,
isSingleton: true,
name: named,
type: T,
replaceIfExists: replaceIfExists,
);
}