getCurrentDiscountText function
dynamic
getCurrentDiscountText()
Implementation
getCurrentDiscountText(){
if (currentOffer.discountType == "percentage")
return "${currentOffer.discount}%";
return "\$${currentOffer.discount}";
}