permissions property
Permissions to set on the document when encrypting.
The listed permissions are what user-password holders are allowed to
do. Leaving this unset (null) while setting a password does not
restrict anything: iOS and Web grant all permissions, Android preserves
the document's existing permissions (all, for a previously unencrypted
document). Pass an explicit list (or an empty one) to restrict.
Implementation
final List<DocumentPermissions?>? permissions;