getPrivateKey method

Future<String> getPrivateKey(
  1. String atsign
)

Fetches privatekey for atsign from device keychain.

Implementation

Future<String> getPrivateKey(String atsign) async {
  var str = await KeyChainManager.getInstance().getPkamPrivateKey(atsign);
  return str!;
}