copy method
Metadata
copy({
- String? identifier,
- String? type,
- LocalizedString? localizedTitle,
- LocalizedString? localizedSubtitle,
- DateTime? modified,
- DateTime? published,
- List<
String> ? languages, - LocalizedString? localizedSortAs,
- List<
Subject> ? subjects, - List<
Contributor> ? authors, - List<
Contributor> ? publishers, - List<
Contributor> ? contributors, - List<
Contributor> ? translators, - List<
Contributor> ? editors, - List<
Contributor> ? artists, - List<
Contributor> ? illustrators, - List<
Contributor> ? letterers, - List<
Contributor> ? pencilers, - List<
Contributor> ? colorists, - List<
Contributor> ? inkers, - List<
Contributor> ? narrators, - List<
Contributor> ? imprints, - String? description,
- double? duration,
- int? numberOfPages,
- Map<
String, List< ? belongsTo,Collection> > - ReadingProgression? readingProgression,
- Presentation? rendition,
- Map<
String, dynamic> ? otherMetadata,
Implementation
Metadata copy({
String? identifier,
String? type,
LocalizedString? localizedTitle,
LocalizedString? localizedSubtitle,
DateTime? modified,
DateTime? published,
List<String>? languages,
LocalizedString? localizedSortAs,
List<Subject>? subjects,
List<Contributor>? authors,
List<Contributor>? publishers,
List<Contributor>? contributors,
List<Contributor>? translators,
List<Contributor>? editors,
List<Contributor>? artists,
List<Contributor>? illustrators,
List<Contributor>? letterers,
List<Contributor>? pencilers,
List<Contributor>? colorists,
List<Contributor>? inkers,
List<Contributor>? narrators,
List<Contributor>? imprints,
String? description,
double? duration,
int? numberOfPages,
Map<String, List<Collection>>? belongsTo,
ReadingProgression? readingProgression,
Presentation? rendition,
Map<String, dynamic>? otherMetadata,
}) =>
Metadata(
identifier: identifier ?? this.identifier,
type: type ?? this.type,
localizedTitle: localizedTitle ?? this.localizedTitle,
localizedSubtitle: localizedSubtitle ?? this.localizedSubtitle,
modified: modified ?? this.modified,
published: published ?? this.published,
languages: languages ?? this.languages,
localizedSortAs: localizedSortAs ?? this.localizedSortAs,
subjects: subjects ?? this.subjects,
authors: authors ?? this.authors,
publishers: publishers ?? this.publishers,
contributors: contributors ?? this.contributors,
translators: translators ?? this.translators,
editors: editors ?? this.editors,
artists: artists ?? this.artists,
illustrators: illustrators ?? this.illustrators,
letterers: letterers ?? this.letterers,
pencilers: pencilers ?? this.pencilers,
colorists: colorists ?? this.colorists,
inkers: inkers ?? this.inkers,
narrators: narrators ?? this.narrators,
imprints: imprints ?? this.imprints,
description: description ?? this.description,
duration: duration ?? this.duration,
numberOfPages: numberOfPages ?? this.numberOfPages,
belongsTo: belongsTo ?? this.belongsTo,
readingProgression: readingProgression ?? this.readingProgression,
rendition: rendition ?? this.rendition,
otherMetadata: otherMetadata ?? this.otherMetadata,
);