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