clone method
Clone this node
Implementation
@override
DCFComponentNode clone() {
return DCFElement(
type: type,
key: key,
props: Map<String, dynamic>.from(props),
children: children.map((child) => child.clone()).toList(),
);
}
Clone this node
@override
DCFComponentNode clone() {
return DCFElement(
type: type,
key: key,
props: Map<String, dynamic>.from(props),
children: children.map((child) => child.clone()).toList(),
);
}