getPkamPrivateKey method

Future<String?> getPkamPrivateKey()

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

Implementation

Future<String?> getPkamPrivateKey() async {
  String? v = atChopsKeys?.atPkamKeyPair?.atPrivateKey.privateKey;
  v ??= (await keyStore!.get(AtConstants.atPkamPrivateKey))?.data;
  return v;
}