arg<T, A> static method
InitBuilder<T>
arg<T, A>({
- Key? key,
- required ValueBuilderFn<
T> builder, - required A arg,
- required T getter(
- A
- ValueSetter<
T> ? disposer,
Constructor for one argument getters.
Implementation
static InitBuilder<T> arg<T, A>({
Key? key,
required ValueBuilderFn<T> builder,
required A arg,
required T Function(A) getter,
ValueSetter<T>? disposer,
}) =>
_ArgInitBuilder<T, A>(
key: key,
builder: builder,
arg: arg,
getter: getter,
disposer: disposer,
);