mergeMultiplePDF method

Future<String?> mergeMultiplePDF({
  1. required List<String> paths,
  2. required String outputDirPath,
})

Combines multiple PDFs into a single PDF.

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

Parameters:

  • paths: 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?> mergeMultiplePDF({
  required List<String> paths,
  required String outputDirPath,
}) {
  throw UnimplementedError('mergeMultiplePDF() has not been implemented.');
}