copyWith method
Implementation
RichTextDiff copyWith({RichText? text, RichText? oldText}) =>
RichTextDiff(text: text ?? this.text, oldText: oldText ?? this.oldText);
RichTextDiff copyWith({RichText? text, RichText? oldText}) =>
RichTextDiff(text: text ?? this.text, oldText: oldText ?? this.oldText);