Files
linkding-ios/lib/models/data/post_bookmark.dart
Juan Gilsanz Polo d689fd0eaa Improved add links
2024-02-23 22:30:39 +01:00

30 lines
649 B
Dart

class PostBookmark {
final String url;
final String title;
final String description;
final bool isArchived;
final bool unread;
final bool shared;
final String tagNames;
const PostBookmark({
required this.url,
required this.title,
required this.description,
required this.isArchived,
required this.unread,
required this.shared,
required this.tagNames,
});
Map<String, dynamic> toJson() => {
"url": url,
"title": title,
"description": description,
"is_archived": isArchived,
"unread": unread,
"shared": shared,
"tag_names": tagNames,
};
}