import 'package:stackwallet/models/isar/exchange_cache/currency.dart'; import 'package:stackwallet/models/isar/exchange_cache/pair.dart'; class MBAvailableCurrencies { final List currencies = []; // final List fixedRateCurrencies = []; final List pairs = []; // final List fixedRatePairs = []; // void updateFloatingCurrencies(List newCurrencies) { // floatingRateCurrencies.clear(); // floatingRateCurrencies.addAll(newCurrencies); // } void updateCurrencies(List newCurrencies) { currencies.clear(); currencies.addAll(newCurrencies); } // void updateFloatingPairs(List newPairs) { // floatingRatePairs.clear(); // floatingRatePairs.addAll(newPairs); // } void updatePairs(List newPairs) { pairs.clear(); pairs.addAll(newPairs); } }