frankfurter 2.0.0 frankfurter: ^2.0.0 copied to clipboard
A dart library to use the fankfurter.app api which provides currency exchange rates
import 'package:frankfurter/frankfurter.dart';
void main() async {
final frankfurter = Frankfurter();
final latest = await frankfurter.latest(from: Currency('EUR'));
latest.forEach(print);
final rate = await frankfurter.getRate(
from: Currency('EUR'),
to: Currency('GBP'),
);
print('Single conversion: $rate');
}