added id to task
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import 'location.dart';
|
import 'location.dart';
|
||||||
|
|
||||||
class Task {
|
class Task {
|
||||||
|
final String id;
|
||||||
final String title;
|
final String title;
|
||||||
final String description;
|
final String description;
|
||||||
final DateTime? start;
|
final DateTime? start;
|
||||||
@@ -13,6 +14,7 @@ class Task {
|
|||||||
final String url;
|
final String url;
|
||||||
|
|
||||||
Task({
|
Task({
|
||||||
|
required this.id,
|
||||||
required this.title,
|
required this.title,
|
||||||
this.description = '',
|
this.description = '',
|
||||||
this.start,
|
this.start,
|
||||||
|
|||||||
Reference in New Issue
Block a user