veilidchat/lib/account_manager/models/account_info.dart

24 lines
422 B
Dart
Raw Normal View History

2024-01-08 21:37:08 -05:00
import 'package:meta/meta.dart';
2024-01-18 19:44:15 -05:00
import 'unlocked_account_info.dart';
2024-01-08 21:37:08 -05:00
enum AccountInfoStatus {
noAccount,
accountInvalid,
accountLocked,
accountReady,
}
@immutable
class AccountInfo {
const AccountInfo({
required this.status,
required this.active,
required this.unlockedAccountInfo,
2024-01-08 21:37:08 -05:00
});
final AccountInfoStatus status;
final bool active;
final UnlockedAccountInfo? unlockedAccountInfo;
2024-01-08 21:37:08 -05:00
}