Appends a value to the source Stream before closing.
Stream.fromIterable([2]).endWith(1).listen(print); // prints 2, 1
Stream<T> endWith(T endValue) => EndWithStreamTransformer<T>(endValue).bind(this);