BusinessOpeningHoursInterval.fromJson constructor

BusinessOpeningHoursInterval.fromJson(
  1. Map<String, dynamic> json
)

Creates a BusinessOpeningHoursInterval object from a JSON map.

Implementation

factory BusinessOpeningHoursInterval.fromJson(Map<String, dynamic> json) {
  return BusinessOpeningHoursInterval(
    openingMinute: json['opening_minute'],
    closingMinute: json['closing_minute'],
  );
}