KDTree constructor Null safety

KDTree(
  1. List<Map> points,
  2. Function? _metric,
  3. List<String> _dimensions
)

Implementation

KDTree(List<Map> points, this._metric, this._dimensions) {
  _root = _buildTree(points, 0, null);
}