computeHeight method

  1. @override
int computeHeight()
override

Compute the height of the tree.

Implementation

@override
int computeHeight() {
  assert(_root != null);
  return _computeHeight(_root!);
}