fromJson static method
Implementation
static PrayerTime fromJson(Map<dynamic, dynamic> json) {
try {
return PrayerTime(
json['hijri'],
json['date'],
json['imsak'],
json['fajr'],
json['syuruk'],
json['dhuhr'],
json['asr'],
json['maghrib'],
json['isha'],
);
} catch (e) {
throw Exception('PrayerTime fromJson method: Failed parsing json $e');
}
}