changed alarm model id to taskId
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user