removed taskid from alarm
This commit is contained in:
@@ -4,7 +4,6 @@ import 'relative_time_alarm.dart';
|
|||||||
|
|
||||||
abstract class Alarm {
|
abstract class Alarm {
|
||||||
String get id;
|
String get id;
|
||||||
String get taskId;
|
|
||||||
AlarmType get alarmType;
|
AlarmType get alarmType;
|
||||||
Map<String, dynamic> toJson();
|
Map<String, dynamic> toJson();
|
||||||
|
|
||||||
@@ -31,7 +30,7 @@ abstract class Alarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get hashCode => taskId.hashCode;
|
int get hashCode => id.hashCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum AlarmType { timeFixed, timeRelative, location }
|
enum AlarmType { timeFixed, timeRelative, location }
|
||||||
|
|||||||
Reference in New Issue
Block a user