veilidchat/lib/account_manager/models/account_info.dart
Christien Rioux b83aa3a64b more refactor
2024-01-08 21:37:08 -05:00

22 lines
406 B
Dart

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