MethodChannelPdfWorker class
An implementation of PdfWorkerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- PdfWorkerPlatform
- MethodChannelPdfWorker
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
choosePagesIndexToMerge(
{required String inputPath, required String outputPath, required List< int> pagesIndex}) → Future<String?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
isEncrypted(
{required String filePath}) → Future< bool> -
pdf is encrypted or not
filePath: pdf file path
return: is encrypted
override
-
isEncryptedByTail(
{required String filePath}) → Future< bool> -
override
-
lock(
{required String filePath, required String userPassword, required String ownerPassword}) → Future< void> -
lock pdf
filePath: pdf file path
userPassword: pdf user password
ownerPassword: pdf owner password
return: lock result
override
-
mergeImagesToPdf(
{required List< String> imagesPath, required String outputPath, Map<String, dynamic> ? config}) → Future<String> -
override
-
mergePdfFiles(
{required List< String> filesPath, required String outputPath}) → Future<String> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pdfToImages(
{required String inputPath, required String outputDirectory, Map< String, dynamic> ? config}) → Future<List< String> > -
override
-
pdfToLongImage(
{required String inputPath, required String outputPath, Map< String, dynamic> ? config}) → Future<String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unlock(
{required String filePath, required String password}) → Future< bool> -
unlock pdf
filePath: pdf file path
password: pdf password
return: unlock result
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited