arg2<T, A1, A2> static method
InitBuilder<T>
arg2<T, A1, A2>({
- Key? key,
- required ValueBuilderFn<
T> builder, - required A1 arg1,
- required A2 arg2,
- required T getter(
- A1,
- A2
- ValueSetter<
T> ? disposer,
Constructor for two argument getters.
Implementation
static InitBuilder<T> arg2<T, A1, A2>({
Key? key,
required ValueBuilderFn<T> builder,
required A1 arg1,
required A2 arg2,
required T Function(A1, A2) getter,
ValueSetter<T>? disposer,
}) =>
_Arg2InitBuilder<T, A1, A2>(
key: key,
builder: builder,
arg1: arg1,
arg2: arg2,
getter: getter,
disposer: disposer,
);