append8 method

Iterable<T> append8(
  1. T v1,
  2. T v2,
  3. T v3,
  4. T v4,
  5. T v5,
  6. T v6,
  7. T v7,
  8. T v8,
)

Inserts eight elements to the end of the iterable.

Takes the specified elements and inserts them at the end of the iterable.

Example:

void main() {
  final list = [0, 1, 2, 3];
  final result = list.append7(4, 5, 6, 7, 8, 9, 10, 11);

  // Result: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
}

Implementation

Iterable<T> append8(T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8) sync* {
  yield* this;
  yield v1;
  yield v2;
  yield v3;
  yield v4;
  yield v5;
  yield v6;
  yield v7;
  yield v8;
}