infiniteSingleElementIterator<T> function
Implementation
Iterable<T> infiniteSingleElementIterator<T>(T element) sync* {
while (true) {
yield element;
}
}
Iterable<T> infiniteSingleElementIterator<T>(T element) sync* {
while (true) {
yield element;
}
}