added edit bookmark capabilities
This commit is contained in:
@@ -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