Adds value to the end of ts.
value
ts
Iterable<T> followedByOne<T>(Iterable<T> ts, T value) sync* { for (final T item in ts) { yield item; } yield value; }