encryptionEnabled property

bool get encryptionEnabled

Whether the application database is opened with an encryption key.

Implementation

bool get encryptionEnabled => _key != null;