upgrade deps
This commit is contained in:
+10
-1
@@ -116,7 +116,7 @@ class BookmarkEntry extends BookmarkItem with FastEquatable {
|
||||
];
|
||||
}
|
||||
|
||||
@CopyWith()
|
||||
@CopyWith(constructor: '_')
|
||||
@JsonSerializable()
|
||||
class BookmarkFolder extends BookmarkItem with FastEquatable {
|
||||
@override
|
||||
@@ -141,6 +141,15 @@ class BookmarkFolder extends BookmarkItem with FastEquatable {
|
||||
required this.children,
|
||||
}) : title = bookmarkRootDisplayNames[guid] ?? title;
|
||||
|
||||
BookmarkFolder._({
|
||||
required this.guid,
|
||||
required this.parentGuid,
|
||||
required this.title,
|
||||
required this.position,
|
||||
required this.dateAdded,
|
||||
required this.children,
|
||||
});
|
||||
|
||||
factory BookmarkFolder.fromJson(Map<String, dynamic> json) =>
|
||||
_$BookmarkFolderFromJson(json);
|
||||
|
||||
|
||||
+1
-1
@@ -199,7 +199,7 @@ class _$BookmarkFolderCWProxyImpl implements _$BookmarkFolderCWProxy {
|
||||
Object? dateAdded = const $CopyWithPlaceholder(),
|
||||
Object? children = const $CopyWithPlaceholder(),
|
||||
}) {
|
||||
return BookmarkFolder(
|
||||
return BookmarkFolder._(
|
||||
guid: guid == const $CopyWithPlaceholder() || guid == null
|
||||
? _value.guid
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
|
||||
Reference in New Issue
Block a user