ComponentTreeNode.fromComponent constructor

ComponentTreeNode.fromComponent(
  1. Component component
)

Implementation

ComponentTreeNode.fromComponent(Component component)
    : this(
        component.hashCode,
        component.runtimeType.toString(),
        component.toString(),
        component is PositionComponent,
        component.children.map(ComponentTreeNode.fromComponent).toList(),
      );