1import 'package:bloc/bloc.dart';
2import 'package:equatable/equatable.dart';
4import '../../../../core/error/failures.dart';
5import '../../../../core/services/service_locator.dart';
6import '../../domain/entities/notification_entity.dart';
7import '../../domain/usecases/get_notifications_usecase.dart';
9part
'notifications_event.dart';
10part
'notifications_state.dart';
21 Emitter<NotificationsState> emit,
23 emit(NotificationsLoading());
26 GetNotificationsParams(
sealed class AuthenticationState extends Equatable failure
sealed class CheckInOutEvent extends Equatable userId
Future< void > _onLoadNotifications(LoadNotificationsEvent event, Emitter< NotificationsState > emit,) async
final GetNotificationsUseCase getNotificationsUseCase
GetNotificationsUseCase({required this.repository})
const LoadNotificationsEvent({required this.userId})
sealed class NotificationsState extends Equatable notifications
const NotificationsLoaded({required this.notifications})