DrinkWaterPeriodBean.fromJson constructor

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

Implementation

factory DrinkWaterPeriodBean.fromJson(Map<String, dynamic> json) => DrinkWaterPeriodBean(
      enable: json["enable"],
      startHour: json["startHour"],
      startMinute: json["startMinute"],
      count: json["count"],
      period: json["period"],
      currentCups: json["currentCups"],
    );