copy method

BinaryNode copy(
  1. BinaryNode build(
    1. BinaryNode?,
    2. BinaryNode
    ), [
  2. int deep = 0
])
inherited

从复制当前节点及其后代 复制后的节点没有parent

Implementation

T copy(T Function(T?, T) build, [int deep = 0]) {
  return _innerCopy(build, null, deep);
}