PrayerTimes constructor
PrayerTimes(
- Coordinates coordinates,
- DateComponents dateComponents,
- CalculationParameters calculationParameters, {
- Duration? utcOffset,
Calculate PrayerTimes and Output Local Times By Default. If you provide utcOffset then it will Output UTC with Offset Applied Times.
coordinates
the coordinates of the location
dateComponents
the date components for that location
calculationParameters
the parameters for the calculation
Implementation
factory PrayerTimes(Coordinates coordinates, DateComponents dateComponents,
CalculationParameters calculationParameters,
{Duration? utcOffset}) {
return PrayerTimes._(
coordinates,
CalendarUtil.resolveTimeByDateComponents(dateComponents),
calculationParameters,
utcOffset: utcOffset);
}