copyWith method
Implementation
TermsData copyWith({
int? position,
String? orderStyle,
List<TermsSpan>? title,
List<TermsSpan>? text,
List<TermsData>? children,
}) {
return TermsData(
position: position ?? this.position,
title: title ?? this.title,
orderStyle: orderStyle ?? this.orderStyle,
children: children ?? this.children,
text: text ?? this.text,
);
}