copyWith method
RssItem
copyWith({
- String? title,
- String? description,
- String? link,
- List<
RssCategory> ? categories, - String? guid,
- String? pubDate,
- String? author,
- String? comments,
- RssSource? source,
- RssContent? content,
- Media? media,
- RssEnclosure? enclosure,
- DublinCore? dc,
- RssItemItunes? itunes,
- RssItemPodcastIndex? podcastIndex,
Implementation
RssItem copyWith({
String? title,
String? description,
String? link,
List<RssCategory>? categories,
String? guid,
String? pubDate,
String? author,
String? comments,
RssSource? source,
RssContent? content,
Media? media,
RssEnclosure? enclosure,
DublinCore? dc,
RssItemItunes? itunes,
RssItemPodcastIndex? podcastIndex,
}) {
return RssItem(
title: title ?? this.title,
description: description ?? this.description,
link: link ?? this.link,
categories: categories ?? this.categories,
guid: guid ?? this.guid,
pubDate: pubDate ?? this.pubDate,
author: author ?? this.author,
comments: comments ?? this.comments,
source: source ?? this.source,
content: content ?? this.content,
media: media ?? this.media,
enclosure: enclosure ?? this.enclosure,
dc: dc ?? this.dc,
itunes: itunes ?? this.itunes,
podcastIndex: podcastIndex ?? this.podcastIndex,
);
}