initialize static method

Future<void> initialize({
  1. String? androidLicenseKey,
  2. String? iosLicenseKey,
  3. String? webLicenseKey,
  4. bool? useLegacy,
})

Implementation

static Future<void> initialize({
  String? androidLicenseKey,
  String? iosLicenseKey,
  String? webLicenseKey,
  bool? useLegacy,
}) async {
  Pspdfkit.useLegacy = useLegacy ?? false;
  await PspdfkitFlutterPlatform.instance
      .setLicenseKeys(androidLicenseKey, iosLicenseKey, webLicenseKey);
}