pop method

void pop()

Implementation

void pop() {
  if (_path.isNotEmpty) {
    _path.removeLast();
  }
}