nextsIter method
An iterable which walks the UndoHeader linked list from this
to the head.
Implementation
Iterable<UndoHeader<E>> nextsIter() sync* {
if (next == null) {
return;
}
for (UndoHeader<E>? next = this.next; next != null; next = next.next) {
yield next;
}
}