repairPdf method
Repair a PDF file
file
PDF file to repair
options
Repair options
Implementation
Future<ApiResponse> repairPdf(File file, {RepairOptions? options}) async {
options ??= RepairOptions();
return client.uploadFile(
'/api/pdf/repair',
'file',
file,
fields: options.toParams(),
);
}