getEncryptionSelfKey method

Future<String?> getEncryptionSelfKey()

get it from atChops if we have it, otherwise try the keystore

Implementation

Future<String?> getEncryptionSelfKey() async {
  String? v = atChopsKeys?.selfEncryptionKey?.key;
  v ??= (await keyStore!.get(AtConstants.atEncryptionSelfKey))?.data;
  return v;
}