isEncryptionEnabled method

bool isEncryptionEnabled()

Returns whether encryption is enabled for this document.

Implementation

bool isEncryptionEnabled() {
  return persistorSettings is FilePersistorSettings &&
      (persistorSettings as FilePersistorSettings).encryptionEnabled;
}