Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
UnloadingRepository Class Reference
Collaboration diagram for UnloadingRepository:

Private Member Functions

 UnloadingRepositoryImpl ({required this.remoteDataSource})
override Future< Either< Failure, List< UnloadingCollectionEntity > > > getPendingUnloadingCollections (int userId) async
override Future< Either< Failure, List< UnloadingHistoryEntity > > > getHistoryUnloading (int userId) async
override Future< Either< Failure, List< WarehouseResponsibleEntity > > > getWarehouseResponsibleList (int userId) async
Future< bool_sendLocationToServer ({ required int driverId, required double latitude, required double longitude, int? poId, String? poStatus, }) async
override Future< Either< Failure, bool > > sendUnloading (UnloadingRequestModel unloadingRequestModel) async
Future< Either< Failure, List< UnloadingCollectionEntity > > > getPendingUnloadingCollections (int userId)
Future< Either< Failure, List< UnloadingHistoryEntity > > > getHistoryUnloading (int userId)
Future< Either< Failure, List< WarehouseResponsibleEntity > > > getWarehouseResponsibleList (int userId)
Future< Either< Failure, bool > > sendUnloading (UnloadingRequestModel unloadingRequestModel)

Private Attributes

final UnloadingRemoteDatasource remoteDataSource
final _apiClient = sl<ApiClient>()

Detailed Description

Definition at line 18 of file unloading_repository_impl.dart.

Member Function Documentation

◆ _sendLocationToServer()

Future< bool > UnloadingRepository::_sendLocationToServer ( { required int driverId, required double latitude, required double longitude, int? poId, String? poStatus, } )
inlineprivate

Definition at line 63 of file unloading_repository_impl.dart.

Here is the caller graph for this function:

◆ getHistoryUnloading() [1/2]

Future< Either< Failure, List< UnloadingHistoryEntity > > > UnloadingRepository::getHistoryUnloading ( int userId)
private

◆ getHistoryUnloading() [2/2]

override Future< Either< Failure, List< UnloadingHistoryEntity > > > UnloadingRepository::getHistoryUnloading ( int userId)
inlineprivate

Definition at line 40 of file unloading_repository_impl.dart.

Here is the call graph for this function:

◆ getPendingUnloadingCollections() [1/2]

Future< Either< Failure, List< UnloadingCollectionEntity > > > UnloadingRepository::getPendingUnloadingCollections ( int userId)
private

◆ getPendingUnloadingCollections() [2/2]

override Future< Either< Failure, List< UnloadingCollectionEntity > > > UnloadingRepository::getPendingUnloadingCollections ( int userId)
inlineprivate

Definition at line 26 of file unloading_repository_impl.dart.

Here is the call graph for this function:

◆ getWarehouseResponsibleList() [1/2]

Future< Either< Failure, List< WarehouseResponsibleEntity > > > UnloadingRepository::getWarehouseResponsibleList ( int userId)
private

◆ getWarehouseResponsibleList() [2/2]

override Future< Either< Failure, List< WarehouseResponsibleEntity > > > UnloadingRepository::getWarehouseResponsibleList ( int userId)
inlineprivate

Definition at line 52 of file unloading_repository_impl.dart.

Here is the call graph for this function:

◆ sendUnloading() [1/2]

Future< Either< Failure, bool > > UnloadingRepository::sendUnloading ( UnloadingRequestModel unloadingRequestModel)
private

◆ sendUnloading() [2/2]

override Future< Either< Failure, bool > > UnloadingRepository::sendUnloading ( UnloadingRequestModel unloadingRequestModel)
inlineprivate

Definition at line 91 of file unloading_repository_impl.dart.

Here is the call graph for this function:

◆ UnloadingRepositoryImpl()

UnloadingRepository::UnloadingRepositoryImpl ( {required this.remoteDataSource} )
private

Member Data Documentation

◆ _apiClient

final UnloadingRepository::_apiClient = sl<ApiClient>()
private

Definition at line 21 of file unloading_repository_impl.dart.

◆ remoteDataSource

final UnloadingRemoteDatasource UnloadingRepository::remoteDataSource
private

Definition at line 20 of file unloading_repository_impl.dart.


The documentation for this class was generated from the following files: