17 lines
362 B
Dart
17 lines
362 B
Dart
part of 'authentication_bloc.dart';
|
|
|
|
sealed class AuthenticationEvent extends Equatable {
|
|
const AuthenticationEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class AuthenticationUserChanged extends AuthenticationEvent {
|
|
final MyUser user;
|
|
|
|
const AuthenticationUserChanged(this.user);
|
|
|
|
@override
|
|
List<Object> get props => [user ?? 'no-user'];
|
|
} |