balanceFactor method Null safety

double balanceFactor()

Calculate balance factor of K-d Tree

Implementation

double balanceFactor() => height / (log(length) / log(2));