bind<T> function
Binder<T>
bind<T>(
- BindValueBuilder<
T> fn, { - ErrorBuilder<
T> ? catchError, - Equals<
T> ? equals, - DisposeCallback<
T> ? dispose,
Implementation
Binder<T> bind<T>(
BindValueBuilder<T> fn, {
ErrorBuilder<T>? catchError,
Equals<T>? equals,
DisposeCallback<T>? dispose,
}) =>
ValueBinder(
(locator, __) => fn(locator),
key: T,
catchError: catchError,
equals: equals,
dispose: dispose,
);