getEmiAmount function

dynamic getEmiAmount(
  1. String totalAmount,
  2. String interestRate,
  3. int tenure
)

Implementation

getEmiAmount(String totalAmount, String interestRate, int tenure) {
  double parsedAmount = double.parse(totalAmount);
  return getMonthlyEMI(parsedAmount, Decimal.parse(interestRate), tenure);
}