copyWith method
Implementation
LibrivoxItem copyWith({
String? id,
String? title,
String? author,
String? releaseDate,
String? description,
String? language,
String? coverUrl,
List<String>? downloadLinks,
}) {
return LibrivoxItem(
id: id ?? this.id,
title: title ?? this.title,
author: author ?? this.author,
releaseDate: releaseDate ?? this.releaseDate,
description: description ?? this.description,
language: language ?? this.language,
coverUrl: coverUrl ?? this.coverUrl,
downloadLinks: downloadLinks ?? this.downloadLinks,
);
}