toJson method
Implementation
Map<String, Object?> toJson() {
var defaultUnit = this.defaultUnit;
var timeFormat = this.timeFormat;
var workingDaysPerWeek = this.workingDaysPerWeek;
var workingHoursPerDay = this.workingHoursPerDay;
final json = <String, Object?>{};
json[r'defaultUnit'] = defaultUnit.value;
json[r'timeFormat'] = timeFormat.value;
json[r'workingDaysPerWeek'] = workingDaysPerWeek;
json[r'workingHoursPerDay'] = workingHoursPerDay;
return json;
}