mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +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;
|
||||
});
|
||||
|
||||
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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue