// import 'dart:async'; // // abstract class CurrencyConvertorService { // abstract String baseCurrency; // // FutureOr> execute(); // } // // class Currency { // final String name; // final double rate; // // Currency(this.name, this.rate); // } // // class ExchangeRatesApi implements CurrencyConvertorService { // @override // late String baseCurrency; // @override // FutureOr> execute() async {} // } // // class CurrencyRateProvider { // final CurrencyConvertorService service; // // CurrencyRateProvider(this.service, {required this.baseCurrency}); // // final String baseCurrency; // // Future> getExchangeRates() async { // service.baseCurrency = this.baseCurrency; // List respnse = await service.execute(); // // return respnse; // } // }