PillReminderBean.fromJson constructor

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

Implementation

factory PillReminderBean.fromJson(Map<String, dynamic> json) => PillReminderBean(
      id: json["id"],
      dateOffset: json["dateOffset"],
      name: json["name"],
      repeat: json["repeat"],
      reminderTimeList: List<dynamic>.from(json["reminderTimeList"].map((x) => x)),
    );