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