cycle method

  1. @override
Cycle<T> cycle()

Creates an iterator which repeats the elements of the original iterator endlessly.

Implementation

@override
@pragma("vm:prefer-inline")
Cycle<T> cycle() => Cycle(this);