CalculationParameters class

Parameters used for PrayerTime calculation customization

Note that, for many cases, you can use CalculationMethod.getParameters to get a pre-computed set of calculation parameters depending on one of the available CalculationMethod.


CalculationParameters({CalculationMethod method, double fajrAngle, double maghribAngle, double ishaAngle, int ishaInterval, Madhab madhab, HighLatitudeRule highLatitudeRule, PrayerAdjustments adjustments, PrayerAdjustments methodAdjustments})


adjustments PrayerAdjustments
Used to optionally add or subtract a set amount of time from each prayer time
read / write
fajrAngle double
The angle of the sun used to calculate fajr
read / write
hashCode int
The hash code for this object.
highLatitudeRule HighLatitudeRule
Rules for placing bounds on Fajr and Isha for high latitude areas
read / write
ishaAngle double
The angle of the sun used to calculate isha
read / write
ishaInterval int
Minutes after Maghrib (if set, the time for Isha will be Maghrib plus IshaInterval)
read / write
madhab Madhab
The madhab used to calculate Asr
read / write
maghribAngle double
The angle of the sun used to calculate Maghrib
read / write
method CalculationMethod
The method used to do the calculation
read / write
methodAdjustments PrayerAdjustments
Used for method adjustments
read / write
runtimeType Type
A representation of the runtime type of the object.


nightPortions() → _NightPortions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.
withMethodAdjustments(PrayerAdjustments adjustments) CalculationParameters
Set the method adjustments for the current calculation parameters adjustments the prayer adjustments return this calculation parameters instance


operator ==(Object other) bool
The equality operator.