height property Null safety

int height

Calculate height of K-d Tree

Implementation

int get height {
  return _root?.height ?? 0;
}