appendElement method

Iterable<E> appendElement(
  1. E element
)

Returns a new lazy Iterable containing all elements of this collection and element.

Implementation

Iterable<E> appendElement(E element) sync* {
  yield* this;
  yield element;
}