mergeMultiplePDFs method

Future<String?> mergeMultiplePDFs({
  1. required List<String> inputPaths,
  2. required String outputPath,
})

Combines multiple PDFs into a single PDF.

Platform-specific implementations should override this method to merge multiple PDFs and return the result.

Parameters:

  • inputPaths: A list of file paths of the PDFs to be merged.
  • outputDirPath: The directory path where the merged PDF should be saved.

Returns:

  • A Future<String?> representing the result of the operation. By default, this throws an UnimplementedError.

Implementation

Future<String?> mergeMultiplePDFs({
  required List<String> inputPaths,
  required String outputPath,
}) {
  throw UnimplementedError('mergeMultiplePDF() has not been implemented.');
}