created models

This commit is contained in:
marcoabat
2023-08-05 02:21:33 +02:00
parent 93a14f0dd2
commit 223303191a
2 changed files with 26 additions and 0 deletions

12
lib/models/listitem.dart Normal file
View File

@@ -0,0 +1,12 @@
class Item {
final int id;
final String ownerId;
String title;
String description;
final DateTime createdTime;
List<String> checkedBy;
Item(this.id, this.ownerId, this.title, this.description, this.createdTime,
List<String>? checkedBy)
: checkedBy = checkedBy ?? [];
}