rootSemanticsNode property Null safety

SemanticsNode? rootSemanticsNode

The root node of the semantics tree, if any.

If the semantics tree is empty, returns null.

Implementation

SemanticsNode? get rootSemanticsNode => _nodes[0];