copy method

Manifest copy({
  1. List<String>? context,
  2. Metadata? metadata,
  3. List<Link>? links,
  4. List<Link>? readingOrder,
  5. List<Link>? resources,
  6. List<Link>? tableOfContents,
  7. Map<String, List<PublicationCollection>>? subcollections,
})

Implementation

Manifest copy({
  List<String>? context,
  Metadata? metadata,
  List<Link>? links,
  List<Link>? readingOrder,
  List<Link>? resources,
  List<Link>? tableOfContents,
  Map<String, List<PublicationCollection>>? subcollections,
}) =>
    Manifest(
      context: context ?? this.context,
      metadata: metadata ?? this.metadata,
      links: links ?? this.links,
      readingOrder: readingOrder ?? this.readingOrder,
      resources: resources ?? this.resources,
      tableOfContents: tableOfContents ?? this.tableOfContents,
      subcollections: subcollections ?? this.subcollections,
    );