displayed items on detail view

This commit is contained in:
marcoabat
2023-08-06 15:50:21 +02:00
parent 01efb5b662
commit 940f6e33ce
4 changed files with 80 additions and 29 deletions

View File

@@ -1,14 +1,10 @@
import 'listitem.dart';
class Checklist {
final int id;
final String ownerId;
String title;
String description;
final DateTime createdTime;
List<Item> items;
Checklist(this.id, this.ownerId, this.title, this.description,
this.createdTime, List<Item>? items)
: items = items ?? [];
Checklist(
this.id, this.ownerId, this.title, this.description, this.createdTime);
}