CurrencyExchangeRate constructor

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

Implementation

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