undo method

void undo()

Implementation

void undo() {
  offsets.removeLast();
  offsets.removeLast();
}