mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
* commit generated files and remove codegen metadata * remove hive_generator dependency * update dependencies * update intl * update ios project files * update native code * update android deps * update image name in ci * revert impeller * re-ignore min version error * fix cw_decred dependency * update hive in cw_core * fix docker build cache for decred * fix conflict * prevent frozen coins being reset on coin info refresh * fix for makeSecure --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
24 lines
485 B
Dart
24 lines
485 B
Dart
import 'package:cw_core/hive_type_ids.dart';
|
|
import 'package:hive/hive.dart';
|
|
|
|
part 'nano_account.part.dart';
|
|
|
|
// @HiveType(typeId: NanoAccount.typeId)
|
|
class NanoAccount extends HiveObject {
|
|
NanoAccount({required this.label, required this.id, this.balance, this.isSelected = false});
|
|
|
|
static const typeId = NANO_ACCOUNT_TYPE_ID;
|
|
|
|
// @HiveField(0)
|
|
String label;
|
|
|
|
// @HiveField(1)
|
|
final int id;
|
|
|
|
// @HiveField(2)
|
|
bool isSelected;
|
|
|
|
// @HiveField(3)
|
|
String? balance;
|
|
}
|