rootNode property Null safety
The unique object managed by this pipeline that has no parent.
This object does not have to be a RenderObject.
Implementation
AbstractNode? get rootNode => _rootNode;
Implementation
set rootNode(AbstractNode? value) {
if (_rootNode == value) {
return;
}
_rootNode?.detach();
_rootNode = value;
_rootNode?.attach(this);
}