copyWith 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,
override
Copy the node with new attributes
Implementation
@override
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,
}) =>
GoogleMapsOpenNode(
id: id ?? this.id,
parentID: parentID ?? this.parentID,
child: child ?? this.child,
children: children ?? this.children,
name: name ?? this.name,
description: description ?? this.description,
childOrder: childOrder ?? this.childOrder,
attributes: attributes ?? getAttributes,
rectProperties: rectProperties ?? getRectProperties,
pageID: pageID ?? this.pageID,
stabilID: stabilID ?? this.stabilID,
componentID: componentID ?? this.componentID,
isLocked: isLocked ?? this.isLocked,
requiredAttributes: requiredAttributes ?? this.requiredAttributes,
);