isEncrypted property

bool get isEncrypted

Check if encryption is present.

Implementation

bool get isEncrypted => _encryptionKey != null || version > 0;