convertAmountToDesiredCurrency method
Implementation
Future<String> convertAmountToDesiredCurrency(String amount,
{String sourceCurrency = "EUR",
String destinationCurrency = 'USDT',
int numberOfDecimals = 3}) async {
final am = await Forex().getCurrencyConverted(
sourceCurrency: sourceCurrency,
destinationCurrency: destinationCurrency,
sourceAmount: double.parse(amount),
numberOfDecimals: numberOfDecimals);
return am.toString();
}