MonthlyPrayer.fromJson constructor

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

Implementation

MonthlyPrayer.fromJson(Map<String, dynamic> json) {
  code = json['code'];
  status = json['status'];
  if (json['data'] != null) {
    data = <Data>[];
    json['data'].forEach((v) {
      data!.add(Data.fromJson(v));
    });
  }
}