17 lines
380 B
Dart
17 lines
380 B
Dart
import 'account_state.dart';
|
|
|
|
sealed class AccountEvent {
|
|
const AccountEvent();
|
|
}
|
|
|
|
class AccountStatusChanged extends AccountEvent {
|
|
final AccountStatus status;
|
|
const AccountStatusChanged(this.status);
|
|
}
|
|
|
|
class AccountActivated extends AccountEvent {
|
|
final String accountId;
|
|
final bool freshLogin;
|
|
const AccountActivated(this.accountId, {required this.freshLogin});
|
|
}
|