arg2<T, A1, A2> static method

InitBuilder<T> arg2<T, A1, A2>({
  1. Key? key,
  2. required ValueBuilderFn<T> builder,
  3. required A1 arg1,
  4. required A2 arg2,
  5. required T getter(
    1. A1,
    2. A2
    ),
  6. 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,
    );