concat method

Iterable<T> concat(
  1. Iterable<T> iterable
)

concat this and iterable

print([1, 2].concat([3, 4]).toList()) // [1, 2, 3, 4]

Implementation

Iterable<T> concat(Iterable<T> iterable) {
  return chain(this, iterable);
}