other things in notes

This commit is contained in:
Kima
2023-12-30 13:27:52 +01:00
parent f5ad70fb28
commit f238b86dc7
6 changed files with 486 additions and 14 deletions

View File

@@ -0,0 +1,22 @@
class SelfNote {
String id;
String? title;
String content;
Map? json;
SelfNote({
required this.id,
this.title,
required this.content,
this.json,
});
factory SelfNote.fromJson(Map json) {
return SelfNote(
id: json['id'],
title: json['title'],
content: json['content'],
json: json,
);
}
}