operator + method

List<E> operator +(
  1. Iterable<E> other
)

Returns an List containing all elements of the original collection and then all elements of the other collection.

Implementation

List<E> operator +(Iterable<E> other) => [...this, ...other];