mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-18 12:34:29 -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;
|
|
}
|