initialize static method
Initializes the PDFTron SDK using a license key.
To run in demo mode, pass an empty string to licenseKey
. This function must
be called before opening any document, whether using PdftronFlutter or DocumentView.
Implementation
static Future<void> initialize([String licenseKey = ""]) {
return _channel.invokeMethod(Functions.initialize,
<String, dynamic>{Parameters.licenseKey: licenseKey});
}