copyWith abstract method
CNode
copyWith({
- NodeID? id,
- NodeID? parentID,
- CNode? child,
- List<
CNode> ? children, - String? name,
- String? description,
- double? childOrder,
- Map<
String, dynamic> ? attributes, - RectProperties? rectProperties,
- DateTime updatedAt,
- PageID? pageID,
- NodeID? stabilID,
- PageID? componentID,
- List<
CNode> ? componentChildren, - bool? isLocked,
- List<
String> ? requiredAttributes,
Copy the node with new attributes
Implementation
CNode copyWith({
NodeID? id,
NodeID? parentID,
CNode? child,
List<CNode>? children,
String? name,
String? description,
double? childOrder,
Map<String, dynamic>? attributes,
RectProperties? rectProperties,
DateTime updatedAt,
PageID? pageID,
NodeID? stabilID,
PageID? componentID,
List<CNode>? componentChildren,
bool? isLocked,
List<String>? requiredAttributes,
});