Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
get_history_unloading_usecase.dart
Go to the documentation of this file.
1import 'package:dartz/dartz.dart';
2
3import '../../../../core/error/failures.dart';
4import '../entities/unloading_history_entity.dart';
5import '../repositories/unloading_repository.dart';
6
9
10 GetHistoryUnloadingUseCase({required this.repository});
11
12 Future<Either<Failure, List<UnloadingHistoryEntity>>> call(int userId) async {
13 return await repository.getHistoryUnloading(userId);
14 }
15}
sealed class CheckInOutEvent extends Equatable userId
Future< Either< Failure, List< UnloadingHistoryEntity > > > call(int userId) async
GetHistoryUnloadingUseCase({required this.repository})