removed position from the model

This commit is contained in:
2026-06-10 15:47:37 +02:00
parent 11aa6f8812
commit f1dc9b5289
3 changed files with 7 additions and 10 deletions
-4
View File
@@ -12,7 +12,6 @@ class Task {
final List<DateTime> alarms;
final Location? location;
final String url;
final int position;
Task({
required this.id,
@@ -26,7 +25,6 @@ class Task {
this.alarms = const [],
this.location,
this.url = '',
required this.position,
});
Task copyWith({
@@ -41,7 +39,6 @@ class Task {
List<DateTime>? alarms,
Location? location,
String? url,
int? position,
}) {
return Task(
id: id ?? this.id,
@@ -55,7 +52,6 @@ class Task {
alarms: alarms ?? this.alarms,
location: location ?? this.location,
url: url ?? this.url,
position: position ?? this.position,
);
}
}