copyWith method

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

Implementation

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