copyWith method

RichTextSpoiler copyWith({
  1. RichText? text,
})

Implementation

RichTextSpoiler copyWith({RichText? text}) =>
    RichTextSpoiler(text: text ?? this.text);