RegExpIndicesArray constructor

RegExpIndicesArray({
  1. Object? groups,
  2. num? length,
  3. String toString$()?,
  4. String toLocaleString()?,
  5. (num, num)? pop()?,
  6. num push([
    1. Iterable?
    ])?,
  7. String join([
    1. String?
    ])?,
  8. List<(num, num)> reverse()?,
  9. (num, num)? shift()?,
  10. List<(num, num)> slice([
    1. num?,
    2. num?
    ])?,
  11. Array sort([
    1. num (
      1. (num, num),
      2. (num, num)
      )?
    ])?,
  12. num unshift([
    1. Iterable?
    ])?,
  13. num indexOf(
    1. (num, num), [
    2. num?
    ])?,
  14. num lastIndexOf(
    1. (num, num), [
    2. num?
    ])?,
  15. bool some(
    1. Object? (
      1. (num, num),
      2. num,
      3. List<(num, num)>
      ), [
    2. dynamic
    ])?,
  16. void forEach(
    1. void (
      1. (num, num),
      2. num,
      3. List<(num, num)>
      ), [
    2. dynamic
    ])?,
  17. List<U> map<U>(
    1. U (
      1. (num, num),
      2. num,
      3. List<(num, num)>
      ), [
    2. dynamic
    ])?,
  18. num findIndex(
    1. Object? (
      1. (num, num),
      2. num,
      3. List<(num, num)>
      ), [
    2. dynamic
    ])?,
  19. Array fill(
    1. (num, num), [
    2. num?,
    3. num?
    ])?,
  20. Array copyWithin(
    1. num,
    2. num, [
    3. num?
    ])?,
  21. IterableIterator<(num, (num, num))> entries()?,
  22. IterableIterator<num> keys()?,
  23. IterableIterator<(num, num)> values()?,
  24. bool includes(
    1. (num, num), [
    2. num?
    ])?,
  25. List<U> flatMap<U, This>(
    1. Object (
      1. (num, num),
      2. num,
      3. List<(num, num)>
      ), [
    2. This?
    ])?,
  26. List flat<A, D extends num>([
    1. D?
    ])?,
  27. (num, num)? at(
    1. num
    )?,
  28. num findLastIndex(
    1. Object? (
      1. (num, num),
      2. num,
      3. List<(num, num)>
      ), [
    2. dynamic
    ])?,
  29. List<(num, num)> toReversed()?,
  30. List<(num, num)> toSorted([
    1. num (
      1. (num, num),
      2. (num, num)
      )?
    ])?,
  31. List<(num, num)> with$(
    1. num,
    2. (num, num)
    )?,
  32. dynamic isArray([
    1. dynamic
    ])?,
  33. List<(num, num)> of<T>([
    1. Iterable?
    ])?,
})

Implementation

factory RegExpIndicesArray({
  _i2.Object? groups,
  _i2.num? length,
  _i2.String Function()? toString$,
  _i2.String Function()? toLocaleString,
  (
    _i2.num,
    _i2.num,
  )?
          Function()?
      pop,
  _i2.num Function([_i2.Iterable<_i2.dynamic>?])? push,
  _i2.String Function([_i2.String?])? join,
  _i2.List<
              (
                _i2.num,
                _i2.num,
              )>
          Function()?
      reverse,
  (
    _i2.num,
    _i2.num,
  )?
          Function()?
      shift,
  _i2.List<
          (
            _i2.num,
            _i2.num,
          )>
      Function([
    _i2.num?,
    _i2.num?,
  ])? slice,
  _i3.Array<_i2.dynamic> Function(
          [_i2.num Function(
            (
              _i2.num,
              _i2.num,
            ),
            (
              _i2.num,
              _i2.num,
            ),
          )?])?
      sort,
  _i2.num Function([_i2.Iterable<_i2.dynamic>?])? unshift,
  _i2.num Function(
    (
      _i2.num,
      _i2.num,
    ), [
    _i2.num?,
  ])? indexOf,
  _i2.num Function(
    (
      _i2.num,
      _i2.num,
    ), [
    _i2.num?,
  ])? lastIndexOf,
  _i2.bool Function(
    _i2.Object? Function(
      (
        _i2.num,
        _i2.num,
      ),
      _i2.num,
      _i2.List<
          (
            _i2.num,
            _i2.num,
          )>,
    ), [
    _i2.dynamic,
  ])? some,
  void Function(
    void Function(
      (
        _i2.num,
        _i2.num,
      ),
      _i2.num,
      _i2.List<
          (
            _i2.num,
            _i2.num,
          )>,
    ), [
    _i2.dynamic,
  ])? forEach,
  _i2.List<U> Function<U>(
    U Function(
      (
        _i2.num,
        _i2.num,
      ),
      _i2.num,
      _i2.List<
          (
            _i2.num,
            _i2.num,
          )>,
    ), [
    _i2.dynamic,
  ])? map,
  _i2.num Function(
    _i2.Object? Function(
      (
        _i2.num,
        _i2.num,
      ),
      _i2.num,
      _i2.List<
          (
            _i2.num,
            _i2.num,
          )>,
    ), [
    _i2.dynamic,
  ])? findIndex,
  _i3.Array<_i2.dynamic> Function(
    (
      _i2.num,
      _i2.num,
    ), [
    _i2.num?,
    _i2.num?,
  ])? fill,
  _i3.Array<_i2.dynamic> Function(
    _i2.num,
    _i2.num, [
    _i2.num?,
  ])? copyWithin,
  _i4.IterableIterator<
              (
                _i2.num,
                (
                  _i2.num,
                  _i2.num,
                ),
              )>
          Function()?
      entries,
  _i4.IterableIterator<_i2.num> Function()? keys,
  _i4.IterableIterator<
              (
                _i2.num,
                _i2.num,
              )>
          Function()?
      values,
  _i2.bool Function(
    (
      _i2.num,
      _i2.num,
    ), [
    _i2.num?,
  ])? includes,
  _i2.List<U> Function<U, This>(
    _i2.Object Function(
      (
        _i2.num,
        _i2.num,
      ),
      _i2.num,
      _i2.List<
          (
            _i2.num,
            _i2.num,
          )>,
    ), [
    This?,
  ])? flatMap,
  _i2.List<_i2.dynamic> Function<A, D extends _i2.num>([D?])? flat,
  (
    _i2.num,
    _i2.num,
  )?
          Function(_i2.num)?
      at,
  _i2.num Function(
    _i2.Object? Function(
      (
        _i2.num,
        _i2.num,
      ),
      _i2.num,
      _i2.List<
          (
            _i2.num,
            _i2.num,
          )>,
    ), [
    _i2.dynamic,
  ])? findLastIndex,
  _i2.List<
              (
                _i2.num,
                _i2.num,
              )>
          Function()?
      toReversed,
  _i2.List<
              (
                _i2.num,
                _i2.num,
              )>
          Function(
          [_i2.num Function(
            (
              _i2.num,
              _i2.num,
            ),
            (
              _i2.num,
              _i2.num,
            ),
          )?])?
      toSorted,
  _i2.List<
          (
            _i2.num,
            _i2.num,
          )>
      Function(
    _i2.num,
    (
      _i2.num,
      _i2.num,
    ),
  )? with$,
  _i2.dynamic Function([_i2.dynamic])? isArray,
  _i2.List<
              (
                _i2.num,
                _i2.num,
              )>
          Function<T>([_i2.Iterable<_i2.dynamic>?])?
      of,
}) =>
    RegExpIndicesArray._(
      groups: groups ?? _i5.undefined,
      length: length,
      toString$: toString$ == null ? null : _i6.allowInterop(toString$),
      toLocaleString:
          toLocaleString == null ? null : _i6.allowInterop(toLocaleString),
      pop: pop == null
          ? null
          : _i6.allowInterop(() => () => pop() ?? _i5.undefined),
      push: push == null
          ? null
          : _i6.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              push([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      join: join == null ? null : _i6.allowInterop(join),
      reverse: reverse == null ? null : _i6.allowInterop(reverse),
      shift: shift == null
          ? null
          : _i6.allowInterop(() => () => shift() ?? _i5.undefined),
      slice: slice == null ? null : _i6.allowInterop(slice),
      sort: sort == null ? null : _i6.allowInterop(sort),
      unshift: unshift == null
          ? null
          : _i6.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              unshift([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
      indexOf: indexOf == null ? null : _i6.allowInterop(indexOf),
      lastIndexOf: lastIndexOf == null ? null : _i6.allowInterop(lastIndexOf),
      some: some == null ? null : _i6.allowInterop(some),
      forEach: forEach == null ? null : _i6.allowInterop(forEach),
      map: map == null ? null : _i6.allowInterop(map),
      findIndex: findIndex == null ? null : _i6.allowInterop(findIndex),
      fill: fill == null ? null : _i6.allowInterop(fill),
      copyWithin: copyWithin == null ? null : _i6.allowInterop(copyWithin),
      entries: entries == null ? null : _i6.allowInterop(entries),
      keys: keys == null ? null : _i6.allowInterop(keys),
      values: values == null ? null : _i6.allowInterop(values),
      includes: includes == null ? null : _i6.allowInterop(includes),
      flatMap: flatMap == null ? null : _i6.allowInterop(flatMap),
      flat: flat == null ? null : _i6.allowInterop(flat),
      at: at == null
          ? null
          : _i6.allowInterop((p0) => () => at(p0) ?? _i5.undefined),
      findLastIndex:
          findLastIndex == null ? null : _i6.allowInterop(findLastIndex),
      toReversed: toReversed == null ? null : _i6.allowInterop(toReversed),
      toSorted: toSorted == null ? null : _i6.allowInterop(toSorted),
      with$: with$ == null ? null : _i6.allowInterop(with$),
      isArray: isArray == null ? null : _i6.allowInterop(isArray),
      of: of == null
          ? null
          : _i6.allowInterop(([
              a0,
              a1,
              a2,
              a3,
              a4,
              a5,
              a6,
              a7,
              a8,
              a9,
            ]) =>
              of([
                a0,
                a1,
                a2,
                a3,
                a4,
                a5,
                a6,
                a7,
                a8,
                a9,
              ])),
    );