unlockPdf method

Future<ApiResponse> unlockPdf(
  1. File file,
  2. String password
)

Unlock a password-protected PDF

file Password-protected PDF file password PDF password

Implementation

Future<ApiResponse> unlockPdf(File file, String password) async {
  return client.uploadFile(
    '/api/pdf/unlock',
    'file',
    file,
    fields: {'password': password},
  );
}