mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-25 21:09:23 +00:00
22 lines
592 B
Dart
22 lines
592 B
Dart
import 'package:isar/isar.dart';
|
|
import 'package:stackwallet/wallets/isar/isar_id_interface.dart';
|
|
|
|
part 'wallet_info_meta.g.dart';
|
|
|
|
@Collection(accessor: "walletInfoMeta", inheritance: false)
|
|
class WalletInfoMeta implements IsarId {
|
|
@override
|
|
Id id = Isar.autoIncrement;
|
|
|
|
@Index(unique: true, replace: false)
|
|
final String walletId;
|
|
|
|
/// Wallets without this flag set to true should be deleted on next app run
|
|
/// and should not be displayed in the ui.
|
|
final bool isMnemonicVerified;
|
|
|
|
WalletInfoMeta({
|
|
required this.walletId,
|
|
required this.isMnemonicVerified,
|
|
});
|
|
}
|