2024-01-08 21:37:08 -05:00
|
|
|
import 'package:meta/meta.dart';
|
2024-01-18 19:44:15 -05:00
|
|
|
|
|
|
|
import 'active_account_info.dart';
|
2024-01-08 21:37:08 -05:00
|
|
|
|
|
|
|
enum AccountInfoStatus {
|
|
|
|
noAccount,
|
|
|
|
accountInvalid,
|
|
|
|
accountLocked,
|
|
|
|
accountReady,
|
|
|
|
}
|
|
|
|
|
|
|
|
@immutable
|
|
|
|
class AccountInfo {
|
|
|
|
const AccountInfo({
|
|
|
|
required this.status,
|
|
|
|
required this.active,
|
2024-01-18 19:44:15 -05:00
|
|
|
required this.activeAccountInfo,
|
2024-01-08 21:37:08 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
final AccountInfoStatus status;
|
|
|
|
final bool active;
|
2024-01-18 19:44:15 -05:00
|
|
|
final ActiveAccountInfo? activeAccountInfo;
|
2024-01-08 21:37:08 -05:00
|
|
|
}
|