changed alarm model id to taskId

This commit is contained in:
2026-06-18 22:48:32 +02:00
parent 8be30974dd
commit e645081204
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import 'location_alarm.dart';
import 'time_alarm.dart';
abstract class Alarm {
String get id;
String get taskId;
Map<String, dynamic> toJson();
factory Alarm.fromJson(Map<String, dynamic> json) {
@@ -25,5 +25,5 @@ abstract class Alarm {
}
@override
int get hashCode => id.hashCode;
int get hashCode => taskId.hashCode;
}