copyWith method
Implementation
RichTextReference copyWith({String? name, RichText? text}) =>
RichTextReference(name: name ?? this.name, text: text ?? this.text);
RichTextReference copyWith({String? name, RichText? text}) =>
RichTextReference(name: name ?? this.name, text: text ?? this.text);