copyWith method

  1. @override
RichTextUrl copyWith({
  1. RichText? text,
  2. String? url,
  3. bool? isCached,
})
override

Implementation

@override
RichTextUrl copyWith({
  RichText? text,
  String? url,
  bool? isCached,
}) =>
    RichTextUrl(
      text: text ?? this.text,
      url: url ?? this.url,
      isCached: isCached ?? this.isCached,
    );