append method

Iterable<T> append(
  1. T t
)

Insert element t at the end of the Iterable.

Implementation

Iterable<T> append(T t) => [...this, t];