copyWith method
Creates a copy of this bookmark with the specified fields replaced.
Implementation
Bookmark copyWith({
String? pdfBookmarkId,
String? name,
String? actionJson,
}) {
return Bookmark(
pdfBookmarkId: pdfBookmarkId ?? this.pdfBookmarkId,
name: name ?? this.name,
actionJson: actionJson ?? this.actionJson,
);
}