copyWith method
Implementation
RichTextMentionName copyWith({RichText? text, int? userId}) =>
RichTextMentionName(
text: text ?? this.text,
userId: userId ?? this.userId,
);
RichTextMentionName copyWith({RichText? text, int? userId}) =>
RichTextMentionName(
text: text ?? this.text,
userId: userId ?? this.userId,
);