Loans constructor

Loans({
  1. String? loanName,
  2. String? dueDate,
  3. String? loanType,
  4. String? status,
  5. num? pendingLoanTermInMonths,
  6. num? origAmount,
  7. num? interestRate,
  8. num? principalBalance,
  9. num? outstandingInterest,
  10. String? repaymentPlan,
  11. num? outstandingBalance,
  12. num? calculatedPriorityScore,
  13. String? expectedPayoffDate,
  14. num? regularMonthlyPayment,
  15. String? loanId,
  16. num? createdOn,
})

Implementation

Loans({
  String? loanName,
  String? dueDate,
  String? loanType,
  String? status,
  num? pendingLoanTermInMonths,
  num? origAmount,
  num? interestRate,
  num? principalBalance,
  num? outstandingInterest,
  String? repaymentPlan,
  num? outstandingBalance,
  num? calculatedPriorityScore,
  String? expectedPayoffDate,
  num? regularMonthlyPayment,
  String? loanId,
  num? createdOn,
}) {
  _loanName = loanName;
  _dueDate = dueDate;
  _loanType = loanType;
  _status = status;
  _pendingLoanTermInMonths = pendingLoanTermInMonths;
  _origAmount = origAmount;
  _interestRate = interestRate;
  _principalBalance = principalBalance;
  _outstandingInterest = outstandingInterest;
  _repaymentPlan = repaymentPlan;
  _outstandingBalance = outstandingBalance;
  _calculatedPriorityScore = calculatedPriorityScore;
  _expectedPayoffDate = expectedPayoffDate;
  _regularMonthlyPayment = regularMonthlyPayment;
  _loanId = loanId;
  _createdOn = createdOn;
}