push method

dynamic push(
  1. dynamic x
)

Implementation

push(x) {
  return _heappush(this.nodes, x, this.cmp);
}