call method

Future<Either<APIErrors, DamageAssessmentResponse>> call({
  1. required String claimId,
  2. required String imageName,
  3. required String filePath,
  4. required String position,
  5. required String direction,
  6. required String vehiclePartExcelId,
  7. required bool isCapDon,
  8. int? oldImageId,
  9. double? timeAppUpload,
  10. String? resizePath,
  11. String? locationName,
  12. String? uploadLocation,
  13. String? utcTimeCreated,
  14. bool? isTruck,
})

Implementation

Future<Either<APIErrors, DamageAssessmentResponse>> call({
  required String claimId,
  required String imageName,
  required String filePath,
  required String position,
  required String direction,
  required String vehiclePartExcelId,
  required bool isCapDon,
  int? oldImageId,
  double? timeAppUpload,
  String? resizePath,
  String? locationName,
  String? uploadLocation,
  String? utcTimeCreated,
  bool? isTruck,
}) async {
  return repository.callAiEngineAfterTakePhotoV2(
    claimId: claimId,
    imageName: imageName,
    filePath: filePath,
    position: position,
    direction: direction,
    vehiclePartExcelId: vehiclePartExcelId,
    isCapDon: isCapDon,
    locationName: locationName,
    oldImageId: oldImageId,
    resizePath: resizePath,
    timeAppUpload: timeAppUpload,
    uploadLocation: uploadLocation,
    utcTimeCreated: utcTimeCreated,
    isTruck: isTruck,
  );
}