copyWith method

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

Implementation

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