LoanCalculated constructor

LoanCalculated({
  1. num? monthlyPayment,
  2. num? monthlyPaymentRound,
  3. num? principalSavings,
  4. num? principalSavingsRound,
  5. num? interestSavings,
  6. num? interestSavingsRound,
  7. num? totalSavings,
  8. num? totalSavingsRound,
  9. num? totalSavingsPercentage,
  10. DurationDebtRelief? durationDebtRelief,
  11. num? daysDebtFree,
  12. num? originalMonthlyPayment,
  13. num? originalMonthlyPaymentRound,
  14. num? originalTotalInterestAmount,
  15. num? originalTotalInterestAmountRound,
  16. num? originalTotalPaymentAmount,
  17. num? originalTotalPaymentAmountRound,
  18. num? originalPaymentDays,
  19. 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;
}