mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
Add default values for hive fields for Node, UnspentCoinsInfo, Wallet… (#598)
* Add default values for hive fields for Node, UnspentCoinsInfo, WalletInfo, Order, Contact, TransactionDescription, Trade
This commit is contained in:
parent
d40cd3ebad
commit
5d741b183f
7 changed files with 31 additions and 31 deletions
|
@ -36,7 +36,7 @@ class Node extends HiveObject with Keyable {
|
|||
static const typeId = 1;
|
||||
static const boxName = 'Nodes';
|
||||
|
||||
@HiveField(0)
|
||||
@HiveField(0, defaultValue: '')
|
||||
late String uriRaw;
|
||||
|
||||
@HiveField(1)
|
||||
|
@ -45,7 +45,7 @@ class Node extends HiveObject with Keyable {
|
|||
@HiveField(2)
|
||||
String? password;
|
||||
|
||||
@HiveField(3)
|
||||
@HiveField(3, defaultValue: 0)
|
||||
late int typeRaw;
|
||||
|
||||
@HiveField(4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue