copyWith method

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

Implementation

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