ExchangeRates constructor

ExchangeRates(
  1. HttpClient httpClient,
  2. CruzawlPreferences preferences,
  3. {ExchangeRatesCallback update = defaultExchangeRatesUpdate,
  4. Duration updateDuration = const Duration(minutes: 10),
  5. StringCallback debugPrint}
)

Implementation

ExchangeRates(this.httpClient, this.preferences,
    {this.update = defaultExchangeRatesUpdate,
    this.updateDuration = const Duration(minutes: 10),
    this.debugPrint});