changeEncryptionKey abstract method
Encrypts or decrypts a Database, or changes its EncryptionKey.
This API is only available in the Enterprise Edition.
If newKey is null, the database will be decrypted. Otherwise the
database will be encrypted with that key; if it was already encrypted, it
will be re-encrypted with the new key.
Implementation
FutureOr<void> changeEncryptionKey(EncryptionKey? newKey);