fixed enum serialization

This commit is contained in:
2026-07-20 14:23:58 +02:00
parent 6778b6426f
commit cd97dada2a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class FixedTimeAlarm implements Alarm {
return {
'id': id,
'triggerAt': triggerAt.toIso8601String(),
'alarmType': alarmType,
'alarmType': alarmType.toJson(),
};
}
}
+1 -1
View File
@@ -32,7 +32,7 @@ class LocationAlarm implements Alarm {
'id': id,
'location': location.toJson(),
'radiusMeters': radiusMeters,
'alarmType': alarmType,
'alarmType': alarmType.toJson(),
};
}
}
+1 -1
View File
@@ -24,7 +24,7 @@ class RelativeTimeAlarm implements Alarm {
return {
'id': id,
'triggerAt': triggerAt.toIso8601String(),
'alarmType': alarmType,
'alarmType': alarmType.toJson(),
};
}
}