visitRoot method Null safety

  1. @optionalTypeArgs
void visitRoot(
  1. RadixTreeKVVisitor<T?> visitor
)

Traverses this radix tree using the given visitor. Note that the tree will be traversed in lexicographical order.

Implementation

@optionalTypeArgs
void visitRoot(RadixTreeKVVisitor<T?> visitor) {
  visit(root, '', '', visitor);
}