toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (nextCloseTime != null) 'nextCloseTime': nextCloseTime!,
if (nextOpenTime != null) 'nextOpenTime': nextOpenTime!,
if (openNow != null) 'openNow': openNow!,
if (periods != null) 'periods': periods!,
if (secondaryHoursType != null)
'secondaryHoursType': secondaryHoursType!,
if (specialDays != null) 'specialDays': specialDays!,
if (weekdayDescriptions != null)
'weekdayDescriptions': weekdayDescriptions!,
};