reduce property

({int Function(int callbackfn(int, int, num, BigUint64Array)) $1, U Function<U>(U callbackfn(U, int, num, BigUint64Array), U initialValue) $2}) get reduce

Overload accessor: $1, $2

Implementation

({
  /// Calls the specified callback function for all the elements in an array. The return value of
  ///  the callback function is the accumulated result, and is provided as an argument in the next
  ///  call to the callback function.
  ///  @param callbackfn A function that accepts up to four arguments. The reduce method calls the
  ///  callbackfn function one time for each element in the array.
  ///  @param initialValue If initialValue is specified, it is used as the initial value to start
  ///  the accumulation. The first call to the callbackfn function provides this value as an argument
  ///  instead of an array value.
  _i2.int Function(
      _i2.int Function(
        _i2.int,
        _i2.int,
        _i2.num,
        _i3.BigUint64Array,
      ) callbackfn) $1,

  /// Calls the specified callback function for all the elements in an array. The return value of
  ///  the callback function is the accumulated result, and is provided as an argument in the next
  ///  call to the callback function.
  ///  @param callbackfn A function that accepts up to four arguments. The reduce method calls the
  ///  callbackfn function one time for each element in the array.
  ///  @param initialValue If initialValue is specified, it is used as the initial value to start
  ///  the accumulation. The first call to the callbackfn function provides this value as an argument
  ///  instead of an array value.
  U Function<U>(
    U Function(
      U,
      _i2.int,
      _i2.num,
      _i3.BigUint64Array,
    ) callbackfn,
    U initialValue,
  ) $2,
}) get reduce => (
      $1: _reduce$1,
      $2: _reduce$2,
    );