Map<String, dynamic> toMap() { return <String, dynamic>{ 'encryptionAlgorithm': encryptionAlgorithm, 'encryptionKey': encryptionKey, }; }