copyWith method

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

Implementation

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