removeStack method

dynamic removeStack(
  1. dynamic node
)

Implementation

removeStack(node) {
  var lastStack = this.stack.removeLast();

  if (lastStack != node) {
    throw ('NodeBuilder: Invalid node stack!');
  }
}