mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
fix nullable type
This commit is contained in:
parent
292c4c396c
commit
7b95533cd3
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
|
||||||
return acc;
|
return acc;
|
||||||
});
|
});
|
||||||
|
|
||||||
static final Map<String?, CryptoCurrency> _nameCurrencyMap =
|
static final Map<String, CryptoCurrency> _nameCurrencyMap =
|
||||||
all.fold<Map<String?, CryptoCurrency>>(<String?, CryptoCurrency>{}, (acc, item) {
|
all.fold<Map<String, CryptoCurrency>>(<String, CryptoCurrency>{}, (acc, item) {
|
||||||
acc.addAll({item.name: item});
|
acc.addAll({item.name: item});
|
||||||
return acc;
|
return acc;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue