week method

Future<List<PrayerTime>> week({
  1. required Zone zone,
})

A function that return a list prayertime object This list prayertime object contain the prayertime information for this week The zone should be a Zone object type.

Implementation

Future<List<PrayerTime>> week({required Zone zone}) async {
  List<PrayerTime> prayerTime = await eSolatConnector.week(zone: zone);
  return prayerTime;
}