copyWith method
Implementation
MarkedUpText copyWith({
String? text,
List<MarkedUpTextSpan>? matchedParts
}) {
return MarkedUpText(
text: text ?? this.text,
matchedParts: matchedParts ?? this.matchedParts
);
}
MarkedUpText copyWith({
String? text,
List<MarkedUpTextSpan>? matchedParts
}) {
return MarkedUpText(
text: text ?? this.text,
matchedParts: matchedParts ?? this.matchedParts
);
}