filter property

({List<S> Function<S extends T>(dynamic predicate(T, num, List<T>), [dynamic thisArg]) $1, List<T> Function(Object? predicate(T, num, List<T>), [dynamic thisArg]) $2}) filter

Overload accessor: $1, $2

Implementation

({
  /// Returns the elements of an array that meet the condition specified in a callback function.
  ///  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
  ///  @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
  _i2.List<S> Function<S extends T>(
    _i2.dynamic Function(
      T,
      _i2.num,
      _i2.List<T>,
    ) predicate, [
    _i2.dynamic thisArg,
  ]) $1,

  /// Returns the elements of an array that meet the condition specified in a callback function.
  ///  @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
  ///  @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
  _i2.List<T> Function(
    _i2.Object? Function(
      T,
      _i2.num,
      _i2.List<T>,
    ) predicate, [
    _i2.dynamic thisArg,
  ]) $2,
}) get filter => (
      $1: _filter$1,
      $2: _filter$2,
    );