copyWith method

UDocMetadata copyWith({
  1. String? title,
  2. String? author,
  3. String? subject,
  4. String? keywords,
  5. String? creator,
  6. String? producer,
  7. DateTime? creationDate,
  8. DateTime? modificationDate,
  9. String? language,
  10. String? publisher,
  11. String? identifier,
  12. String? series,
  13. double? seriesIndex,
  14. int? pageCount,
  15. String? version,
  16. bool? tagged,
  17. bool? linearized,
  18. bool? encrypted,
  19. Map<String, String>? custom,
})

Implementation

UDocMetadata copyWith({
  String? title,
  String? author,
  String? subject,
  String? keywords,
  String? creator,
  String? producer,
  DateTime? creationDate,
  DateTime? modificationDate,
  String? language,
  String? publisher,
  String? identifier,
  String? series,
  double? seriesIndex,
  int? pageCount,
  String? version,
  bool? tagged,
  bool? linearized,
  bool? encrypted,
  Map<String, String>? custom,
}) => UDocMetadata(
  title: title ?? this.title,
  author: author ?? this.author,
  subject: subject ?? this.subject,
  keywords: keywords ?? this.keywords,
  creator: creator ?? this.creator,
  producer: producer ?? this.producer,
  creationDate: creationDate ?? this.creationDate,
  modificationDate: modificationDate ?? this.modificationDate,
  language: language ?? this.language,
  publisher: publisher ?? this.publisher,
  identifier: identifier ?? this.identifier,
  series: series ?? this.series,
  seriesIndex: seriesIndex ?? this.seriesIndex,
  pageCount: pageCount ?? this.pageCount,
  version: version ?? this.version,
  tagged: tagged ?? this.tagged,
  linearized: linearized ?? this.linearized,
  encrypted: encrypted ?? this.encrypted,
  custom: custom ?? this.custom,
);