mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-26 16:19:31 -05:00
24 lines
414 B
Dart
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;
|
|
}
|