part of 'AuthenticationBloc.dart';

abstract class AuthenticationEvent extends Equatable {
  const AuthenticationEvent();

  @override
  List<Object> get props => [];
}

class AppLoaded extends AuthenticationEvent {
  @override
  String toString() => 'AppStarted';
}

class UserLoggedIn extends AuthenticationEvent {
  final String token;

  UserLoggedIn({@required this.token});

  @override
  List<Object> get props => [token];

  @override
  String toString() => 'LoggedIn { token: $token }';
}

class UserLoggedOut extends AuthenticationEvent {
  @override
  String toString() => 'LoggedOut';
}