mergePdfFiles method
Implementation
@override
Future<String>mergePdfFiles({required List<String> filesPath, required String outputPath}) async {
try {
final String result = await methodChannel.invokeMethod('mergePdfFiles', {
'filesPath': filesPath,
'outputPath': outputPath,
});
return result;
} on PlatformException catch (e) {
if (kDebugMode) {
print("Failed to merge PDF files: '${e.message}'.");
}
rethrow;
}
}