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