copyWith method
Implementation
PropertyNode copyWith({
List<Node>? children,
int? index,
ValueNode? key,
Node? value,
String? type,
Location? loc,
}) {
return PropertyNode(
children: children ?? this.children,
index: index ?? this.index,
key: key ?? this.key,
value: value ?? this.value,
type: type ?? this.type,
loc: loc ?? this.loc,
);
}