convertCurrency method
Convert currency (from, to, amount)
Implementation
Future<double> convertCurrency({
required String from,
required String to,
required double amount,
}) async {
return await CurrencyConverter().convert(
fromCurrency: from,
toCurrency: to,
amount: amount,
);
}