ZakatDeduction class
Result of zakatDeduction.
Constructors
- ZakatDeduction({required int zakatYear, required int nisab, required double balance, required bool deductible, required ZakatExemptReason? reason, required double rate, required int zakat, required DataSource source})
-
Creates a Zakat deduction value.
const
Properties
- balance → double
-
The balance, in rupees (2 decimals at most).
final
- deductible → bool
-
Whether Zakat is deducted from this balance.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- nisab → int
-
That year's nisab in rupees.
final
- rate → double
-
Percent of the whole balance:
2.5.final - reason → ZakatExemptReason?
-
Why not, when deductible is
false; otherwisenull.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → DataSource
-
The year's notification and SBP circular (dataset
zakat-nisab).final - zakat → int
-
The amount deducted, in whole rupees (First Schedule, Note 2: less than
a rupee is not charged, 50 paisa or more counts as a rupee);
0if not deductible.final - zakatYear → int
-
The Zakat year used, e.g.
1447.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - JSON form, with the same keys as the npm package.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override