copyWith method

PageOfChangelogsHistoriesItem copyWith({
  1. String? id,
  2. Map<String, dynamic>? author,
  3. DateTime? created,
  4. List<PageOfChangelogsHistoriesItemItemsItem>? items,
  5. Map<String, dynamic>? historyMetadata,
})

Implementation

PageOfChangelogsHistoriesItem copyWith(
    {String? id,
    Map<String, dynamic>? author,
    DateTime? created,
    List<PageOfChangelogsHistoriesItemItemsItem>? items,
    Map<String, dynamic>? historyMetadata}) {
  return PageOfChangelogsHistoriesItem(
    id: id ?? this.id,
    author: author ?? this.author,
    created: created ?? this.created,
    items: items ?? this.items,
    historyMetadata: historyMetadata ?? this.historyMetadata,
  );
}