veilidchat/lib/account_manager/models/account_info.dart
2024-01-18 19:44:15 -05:00

24 lines
414 B
Dart

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