BrPlaceScheduleModel.fromJson constructor

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

Implementation

BrPlaceScheduleModel.fromJson(Map<String, dynamic> json) {
  if (json["toDay"] is String) this.toDay = json["toDay"];
  if (json["fromDay"] is String) this.fromDay = json["fromDay"];
  if (json["timeStart"] is int) this.timeStart = json["timeStart"];
  if (json["timeStop"] is int) this.timeStop = json["timeStop"];
}