InstallmentPlan constructor

const InstallmentPlan({
  1. required int termMonths,
  2. required Money monthlyAmount,
  3. required Money totalAmount,
  4. required bool isInterestFree,
  5. double? annualRate,
  6. DateTime? startDate,
})

Implementation

const InstallmentPlan({
  required this.termMonths,
  required this.monthlyAmount,
  required this.totalAmount,
  required this.isInterestFree,
  this.annualRate,
  this.startDate,
});