Client/lib/storage/timetable/timetableSettings.dart

13 lines
397 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'timetableSettings.g.dart';
@JsonSerializable()
class TimetableSettings {
bool connectDoubleLessons;
TimetableSettings({required this.connectDoubleLessons});
factory TimetableSettings.fromJson(Map<String, dynamic> json) => _$TimetableSettingsFromJson(json);
Map<String, dynamic> toJson() => _$TimetableSettingsToJson(this);
}