Repeats an item n times.
item
n
Iterable<T> repeat<T>(T item, int n) sync* { for (int i = 0; i < n; ++i) { yield item; } }