LoanCalculated constructor
LoanCalculated({
- num? monthlyPayment,
- num? monthlyPaymentRound,
- num? principalSavings,
- num? principalSavingsRound,
- num? interestSavings,
- num? interestSavingsRound,
- num? totalSavings,
- num? totalSavingsRound,
- num? totalSavingsPercentage,
- DurationDebtRelief? durationDebtRelief,
- num? daysDebtFree,
- num? originalMonthlyPayment,
- num? originalMonthlyPaymentRound,
- num? originalTotalInterestAmount,
- num? originalTotalInterestAmountRound,
- num? originalTotalPaymentAmount,
- num? originalTotalPaymentAmountRound,
- num? originalPaymentDays,
- List<
MonthlyBurndown> ? monthlyBurndown,
Implementation
LoanCalculated(
{num? monthlyPayment,
num? monthlyPaymentRound,
num? principalSavings,
num? principalSavingsRound,
num? interestSavings,
num? interestSavingsRound,
num? totalSavings,
num? totalSavingsRound,
num? totalSavingsPercentage,
DurationDebtRelief? durationDebtRelief,
num? daysDebtFree,
num? originalMonthlyPayment,
num? originalMonthlyPaymentRound,
num? originalTotalInterestAmount,
num? originalTotalInterestAmountRound,
num? originalTotalPaymentAmount,
num? originalTotalPaymentAmountRound,
num? originalPaymentDays,
List<MonthlyBurndown>? monthlyBurndown}) {
_monthlyPayment = monthlyPayment;
_monthlyPaymentRound = monthlyPaymentRound;
_principalSavings = principalSavings;
_principalSavingsRound = principalSavingsRound;
_interestSavings = interestSavings;
_interestSavingsRound = interestSavingsRound;
_totalSavings = totalSavings;
_totalSavingsRound = totalSavingsRound;
_totalSavingsPercentage = totalSavingsPercentage;
_durationDebtRelief = durationDebtRelief;
_daysDebtFree = daysDebtFree;
_originalMonthlyPayment = originalMonthlyPayment;
_originalMonthlyPaymentRound = originalMonthlyPaymentRound;
_originalTotalInterestAmount = originalTotalInterestAmount;
_originalTotalInterestAmountRound = originalTotalInterestAmountRound;
_originalTotalPaymentAmount = originalTotalPaymentAmount;
_originalTotalPaymentAmountRound = originalTotalPaymentAmountRound;
_originalPaymentDays = originalPaymentDays;
_monthlyBurndown = monthlyBurndown;
}