any property

({Future Function<T extends Object>(T values) $1, Future Function<T>(Iterable<FutureOr<T>> values) $2}) get any

Overload accessor: $1, $2

Implementation

({
  /// The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
  ///  @param values An array or iterable of Promises.
  ///  @returns A new Promise.
  _i2.Future<_i2.dynamic> Function<T extends _i2.Object>(T values) $1,

  /// The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
  ///  @param values An array or iterable of Promises.
  ///  @returns A new Promise.
  _i2.Future<_i2.dynamic> Function<T>(
      _i5.Iterable<_i7.FutureOr<T>> values) $2,
}) get any => (
      $1: _any$1,
      $2: _any$2,
    );