copyWith abstract method

CNode copyWith({
  1. NodeID? id,
  2. NodeID? parentID,
  3. CNode? child,
  4. List<CNode>? children,
  5. String? name,
  6. String? description,
  7. double? childOrder,
  8. Map<String, dynamic>? attributes,
  9. RectProperties? rectProperties,
  10. DateTime updatedAt,
  11. PageID? pageID,
  12. NodeID? stabilID,
  13. PageID? componentID,
  14. List<CNode>? componentChildren,
  15. bool? isLocked,
  16. 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,
});