locate method Null safety

TreeElement<T>? locate(
  1. T value
)

Implementation

TreeElement<T>? locate(T value) {
  return _locate(value, root);
}