pop method

void pop()

Implementation

void pop() {
  var popped = items.removeAt(0);
  for (var o in observers) {
    o.didPopHistory(popped, [...items]);
  }
}