Tree<T> constructor Null safety

Tree<T>(
  1. T rootValue
)

Implementation

Tree(T rootValue) {
  root = TreeElement(rootValue, null);
}