CurrencyExchangeRate constructor

const CurrencyExchangeRate({
  1. required String currency,
  2. required double rate,
})

Describes exchange rate of a currency to USD

Implementation

const CurrencyExchangeRate({required this.currency, required this.rate});