mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
23 lines
592 B
Dart
23 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,
|
||
|
});
|
||
|
}
|