toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      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!,
    };