mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
24 lines
422 B
Dart
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;
|
|
}
|