toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final nextCloseTime = this.nextCloseTime;
final nextOpenTime = this.nextOpenTime;
final openNow = this.openNow;
final periods = this.periods;
final secondaryHoursType = this.secondaryHoursType;
final specialDays = this.specialDays;
final weekdayDescriptions = this.weekdayDescriptions;
return {
'nextCloseTime': ?nextCloseTime,
'nextOpenTime': ?nextOpenTime,
'openNow': ?openNow,
'periods': ?periods,
'secondaryHoursType': ?secondaryHoursType,
'specialDays': ?specialDays,
'weekdayDescriptions': ?weekdayDescriptions,
};
}