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