reduceRight property

({T Function(T callbackfn(T, T, num, List<T>)) $1, T Function(T callbackfn(T, T, num, List<T>), T initialValue) $2, U Function<U>(U callbackfn(U, T, num, List<T>), U initialValue) $3}) get reduceRight

Overload accessor: $1, $2, $3

Implementation

({
  /// Calls the specified callback function for all the elements in an array, in descending order. 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 reduceRight 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.
  T Function(
      T Function(
        T,
        T,
        _i2.num,
        _i2.List<T>,
      ) callbackfn) $1,

  /// Calls the specified callback function for all the elements in an array, in descending order. 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.
  T Function(
    T Function(
      T,
      T,
      _i2.num,
      _i2.List<T>,
    ) callbackfn,
    T initialValue,
  ) $2,

  /// Calls the specified callback function for all the elements in an array, in descending order. 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 reduceRight 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,
      T,
      _i2.num,
      _i2.List<T>,
    ) callbackfn,
    U initialValue,
  ) $3,
}) get reduceRight => (
      $1: _reduceRight$1,
      $2: _reduceRight$2,
      $3: _reduceRight$3,
    );