getSecretKey method
Read the secretKey in the DB, returns null if it's not set... If it's set enable encryption by saving it in EncryptHelper
Implementation
Future<String?> getSecretKey({required String dbName}) async {
String? key = await super.query("SELECT secretkey FROM sync_encryption",
singleResult: true, dbName: dbName);
EncryptHelper.secretKey = key;
return key;
}