core.Map<core.String, core.dynamic> toJson() { final hoursTypeId = this.hoursTypeId; final periods = this.periods; return {'hoursTypeId': ?hoursTypeId, 'periods': ?periods}; }