ProtectPdfOptions.withAllPermissions constructor
      
      ProtectPdfOptions.withAllPermissions({})
     
    
Create protection options with all permissions allowed
Implementation
factory ProtectPdfOptions.withAllPermissions({
  required String password,
  String? ownerPassword,
  String encryptionLevel = '256',
}) {
  return ProtectPdfOptions(
    password: password,
    ownerPassword: ownerPassword,
    permission: 'all',
    encryptionLevel: encryptionLevel,
    allowPrinting: true,
    allowCopying: true,
    allowEditing: true,
  );
}