isEncrypted method

Future<bool> isEncrypted()

Checks if the PDF document is encrypted.

example:

var isEncrypted = await document.isEncrypted();

Implementation

Future<bool> isEncrypted() async {
  return await _channel.invokeMethod('is_encrypted');
}