TrainingDayInfoBean.fromJson constructor

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

Implementation

factory TrainingDayInfoBean.fromJson(Map<String, dynamic> json) => TrainingDayInfoBean(
      enable: json["enable"],
      trainingDays: List<int>.from(json["trainingDays"].map((x) => x)),
    );