added connected double lessons with own setting

This commit is contained in:
2024-03-30 18:26:33 +01:00
parent 9cb3a93a51
commit afdc02f2a4
5 changed files with 60 additions and 5 deletions

View File

@ -4,7 +4,9 @@ part 'timetableSettings.g.dart';
@JsonSerializable()
class TimetableSettings {
TimetableSettings();
bool connectDoubleLessons;
TimetableSettings({required this.connectDoubleLessons});
factory TimetableSettings.fromJson(Map<String, dynamic> json) => _$TimetableSettingsFromJson(json);
Map<String, dynamic> toJson() => _$TimetableSettingsToJson(this);