getTransactionFee function

Future<String> getTransactionFee(
  1. dynamic key
)

Implementation

Future <String> getTransactionFee(key)async{
  double totalAmount = 0;
  // Return the formatted totalAmount as a string
  return "KES ${Get.find<GraphsController>().format.format(double.parse(totalAmount.toStringAsFixed(2)))}";

}