mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
fix nullable type
This commit is contained in:
@@ -139,8 +139,8 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
|
||||
return acc;
|
||||
});
|
||||
|
||||
static final Map<String?, CryptoCurrency> _nameCurrencyMap =
|
||||
all.fold<Map<String?, CryptoCurrency>>(<String?, CryptoCurrency>{}, (acc, item) {
|
||||
static final Map<String, CryptoCurrency> _nameCurrencyMap =
|
||||
all.fold<Map<String, CryptoCurrency>>(<String, CryptoCurrency>{}, (acc, item) {
|
||||
acc.addAll({item.name: item});
|
||||
return acc;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user