copyWith method

RichTextCashtag copyWith({
  1. RichText? text,
  2. String? cashtag,
})

Implementation

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