veilidchat/lib/account_manager/models/account_info.dart
2024-06-13 14:52:34 -04:00

24 lines
422 B
Dart

import 'package:meta/meta.dart';
import 'unlocked_account_info.dart';
enum AccountInfoStatus {
noAccount,
accountInvalid,
accountLocked,
accountReady,
}
@immutable
class AccountInfo {
const AccountInfo({
required this.status,
required this.active,
required this.unlockedAccountInfo,
});
final AccountInfoStatus status;
final bool active;
final UnlockedAccountInfo? unlockedAccountInfo;
}