copyWith method

RichTextPlain copyWith({
  1. String? text,
})

Implementation

RichTextPlain copyWith({
  String? text,
}) =>
    RichTextPlain(
      text: text ?? this.text,
    );