added edit bookmark capabilities
This commit is contained in:
1 parent
885e638265
commit
0309678650
4 files changed
+76
-12
No files matched your search
@@ -32,4 +32,14 @@ class Bookmark {
|
||||
'description': description,
|
||||
'createdAt': createdAt,
|
||||
};
|
||||
|
||||
Bookmark copyWith({String? link, String? name, String? description}) {
|
||||
return Bookmark(
|
||||
collectionId: collectionId,
|
||||
name: name ?? this.name,
|
||||
link: link ?? this.link,
|
||||
description: description ?? this.description,
|
||||
createdAt: createdAt,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user