arg4<T, A1, A2, A3, A4> static method

InitBuilder<T> arg4<T, A1, A2, A3, A4>({
  1. Key? key,
  2. required ValueBuilderFn<T> builder,
  3. required A1 arg1,
  4. required A2 arg2,
  5. required A3 arg3,
  6. required A4 arg4,
  7. required T getter(
    1. A1,
    2. A2,
    3. A3,
    4. A4,
    ),
  8. ValueSetter<T>? disposer,
})

Constructor for four argument getters.

Implementation

static InitBuilder<T> arg4<T, A1, A2, A3, A4>({
  Key? key,
  required ValueBuilderFn<T> builder,
  required A1 arg1,
  required A2 arg2,
  required A3 arg3,
  required A4 arg4,
  required T Function(A1, A2, A3, A4) getter,
  ValueSetter<T>? disposer,
}) =>
    _Arg4InitBuilder<T, A1, A2, A3, A4>(
      key: key,
      builder: builder,
      arg1: arg1,
      arg2: arg2,
      arg3: arg3,
      arg4: arg4,
      getter: getter,
      disposer: disposer,
    );