mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user