RepeatIterableExtension<E> extension

Extension on Iterable to repeat its elements.

on

Methods

repeat({int? count}) → Iterable<E>

Available on Iterable<E>, provided by the RepeatIterableExtension extension

Returns an infinite iterable with the elements of this iterable. If count is provided the resulting iterator is limited to count repetitions.