copyWith method

RichTextHashtag copyWith({
  1. RichText? text,
  2. String? hashtag,
})

Implementation

RichTextHashtag copyWith({RichText? text, String? hashtag}) =>
    RichTextHashtag(
      text: text ?? this.text,
      hashtag: hashtag ?? this.hashtag,
    );