entriesIter method

Iterable<UndoHeader<E>> entriesIter()

An iterable which walks the UndoHeader linked list from the tail to the head, passing through this.

Implementation

Iterable<UndoHeader<E>> entriesIter() sync* {
  final previous = prevsIter().toList(growable: false);
  yield* previous.reversed;
  yield this;
  yield* nextsIter();
}