AlarmBean.fromJson constructor

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

Implementation

factory AlarmBean.fromJson(Map<String, dynamic> json) => AlarmBean(
  list: List<AlarmClockBean>.from((json["list"] ?? []).map((e) => AlarmClockBean.fromJson(e))),
  isNew: json["isNew"],
);