copyWith method

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

Implementation

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