copyWith method
Implementation
ObjectNode copyWith({
String? type,
Location? loc,
List<PropertyNode>? children,
}) {
return ObjectNode(
type ?? this.type,
loc ?? this.loc,
children ?? this.children,
);
}
ObjectNode copyWith({
String? type,
Location? loc,
List<PropertyNode>? children,
}) {
return ObjectNode(
type ?? this.type,
loc ?? this.loc,
children ?? this.children,
);
}