isEncrypted method
Returns whether encryption is enabled for this document.
Implementation
bool isEncrypted() {
final settings = persistorSettings ?? Loon.persistorSettings;
if (settings is FilePersistorSettings) {
return settings.encrypted;
}
return false;
}