getEncryptedKeys static method

Future<Map<String, String>> getEncryptedKeys(
  1. String atsign
)

Implementation

static Future<Map<String, String>> getEncryptedKeys(String atsign) async {
  var result;
  try {
    result = await KeychainUtil.getEncryptedKeys(atsign);
    result[atsign] = await _getAESKey(atsign);
  } catch (e) {
    result = {};
  }
  return result;
}