duration method
A function that return specific range prayertime days
The zone
should be a Zone object type.
The dateend
should have a format 'YYYY-MM-DD'.
The datestart
should have a format 'YYYY-MM-DD'.
Implementation
Future<List<PrayerTime>> duration(
{required Zone zone,
required String datestart,
required String dateend}) async {
List<PrayerTime> prayerTime = await eSolatConnector.duration(
zone: zone, datestart: datestart, dateend: dateend);
return prayerTime;
}