pop method

R? pop()

Implementation

R? pop() {
  if (_stack.length <= 1) {
    return null;
  }

  final out = _stack.removeLast();
  _changes.add(null);

  return out;
}