displayed items on detail view
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user