init static method
Please enter your ComPDFKit license to initialize the ComPDFKit SDK.
This method is used for offline license authentication.
In version 1.13.0, we have introduced a brand-new online authentication licensing scheme.
By default, the ComPDFKit SDK performs online authentication.
If you are unsure about the type of your license, please contact the ComPDFKit team..
samples:
ComPDFKit.init('your compdfkit license')
Implementation
static void init(String key) async {
_methodChannel.invokeMethod('init_sdk', {'key': key});
}