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