Use TupleKey(ObjectKey-AccountId-UserName) to store data to hive
(cherry picked from commit e0ace535d5f3af71eb13598d92524caf2c6d9bbf)
This commit is contained in:
@@ -21,13 +21,17 @@ class AccountCache extends HiveObject with EquatableMixin {
|
||||
@HiveField(4)
|
||||
final String? apiUrl;
|
||||
|
||||
@HiveField(5)
|
||||
final String? userName;
|
||||
|
||||
AccountCache(
|
||||
this.id,
|
||||
this.authenticationType,
|
||||
{
|
||||
required this.isSelected,
|
||||
this.accountId,
|
||||
this.apiUrl
|
||||
this.apiUrl,
|
||||
this.userName
|
||||
}
|
||||
);
|
||||
|
||||
@@ -37,6 +41,7 @@ class AccountCache extends HiveObject with EquatableMixin {
|
||||
authenticationType,
|
||||
isSelected,
|
||||
accountId,
|
||||
apiUrl
|
||||
apiUrl,
|
||||
userName
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user