totalTransferAmount function
Implementation
double? totalTransferAmount(
double? charges,
double? vat,
double? amount,
) {
/// MODIFY CODE ONLY BELOW THIS LINE
var fAmt = (charges ?? 0) + (vat ?? 0) + (amount ?? 0);
if (fAmt < 0.0) {
fAmt = 0.0;
}
return fAmt;
}