2020-12-15 16:29:10 +00:00
|
|
|
import 'package:cake_wallet/entities/crypto_currency.dart';
|
2020-09-21 11:50:26 +00:00
|
|
|
import 'package:mobx/mobx.dart';
|
|
|
|
|
|
|
|
part 'fiat_conversion_store.g.dart';
|
|
|
|
|
2020-12-15 16:29:10 +00:00
|
|
|
class FiatConversionStore = FiatConversionStoreBase with _$FiatConversionStore;
|
2020-09-21 11:50:26 +00:00
|
|
|
|
|
|
|
abstract class FiatConversionStoreBase with Store {
|
2020-12-15 16:29:10 +00:00
|
|
|
FiatConversionStoreBase() : prices = ObservableMap<CryptoCurrency, double>();
|
2020-09-21 11:50:26 +00:00
|
|
|
|
|
|
|
@observable
|
2020-12-15 16:29:10 +00:00
|
|
|
ObservableMap<CryptoCurrency, double> prices;
|
2020-09-21 11:50:26 +00:00
|
|
|
}
|