mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-06-08 22:52:46 -04:00
22 lines
406 B
Dart
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;
|
|
}
|