created models
This commit is contained in:
12
lib/models/listitem.dart
Normal file
12
lib/models/listitem.dart
Normal 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 ?? [];
|
||||
}
|
||||
Reference in New Issue
Block a user