Use TupleKey(ObjectKey-AccountId-UserName) to store data to hive

(cherry picked from commit e0ace535d5f3af71eb13598d92524caf2c6d9bbf)
This commit is contained in:
dab246
2023-04-27 11:03:39 +07:00
committed by Dat Vu
parent 7d0a5729b2
commit 876cc368b0
107 changed files with 562 additions and 340 deletions
@@ -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
];
}