copyWith method

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

Implementation

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