copy method

Metadata copy({
  1. String? identifier,
  2. String? type,
  3. LocalizedString? localizedTitle,
  4. LocalizedString? localizedSubtitle,
  5. DateTime? modified,
  6. DateTime? published,
  7. List<String>? languages,
  8. LocalizedString? localizedSortAs,
  9. List<Subject>? subjects,
  10. List<Contributor>? authors,
  11. List<Contributor>? publishers,
  12. List<Contributor>? contributors,
  13. List<Contributor>? translators,
  14. List<Contributor>? editors,
  15. List<Contributor>? artists,
  16. List<Contributor>? illustrators,
  17. List<Contributor>? letterers,
  18. List<Contributor>? pencilers,
  19. List<Contributor>? colorists,
  20. List<Contributor>? inkers,
  21. List<Contributor>? narrators,
  22. List<Contributor>? imprints,
  23. String? description,
  24. double? duration,
  25. int? numberOfPages,
  26. Map<String, List<Collection>>? belongsTo,
  27. ReadingProgression? readingProgression,
  28. Presentation? rendition,
  29. 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,
    );