followedBy method

  1. @override
Iterable<num> followedBy(
  1. Iterable<num> other
)
override

Creates the lazy concatenation of this iterable and other.

The returned iterable will provide the same elements as this iterable, and, after that, the elements of other, in the same order as in the original iterables.

Example:

var planets = <String>['Earth', 'Jupiter'];
var updated = planets.followedBy(['Mars', 'Venus']);
print(updated); // (Earth, Jupiter, Mars, Venus)

Implementation

@override
Iterable<num> followedBy(Iterable<num> other) => _items.followedBy(other);