registerNode method

void registerNode(
  1. RenderNode node
)

Implementation

void registerNode(RenderNode node) {
  if (node.id != id && !_hasNotifyViewAdd) {
    _hasNotifyViewAdd = true;
    _rootWidgetViewModel.onViewAdd();
  }
  _nodeMap[node.id] = node;
}