copyWith method

  1. @override
RichTextReference copyWith({
  1. RichText? text,
  2. String? anchorName,
  3. String? url,
})
override

Implementation

@override
RichTextReference copyWith({
  RichText? text,
  String? anchorName,
  String? url,
}) => RichTextReference(
  text: text ?? this.text,
  anchorName: anchorName ?? this.anchorName,
  url: url ?? this.url,
);