findKeysToDecrypt method

Iterable<MapEntry<String, String>> findKeysToDecrypt(
  1. DataOwnerDto? dataOwner
)

Implementation

Iterable<MapEntry<String, String>> findKeysToDecrypt(DataOwnerDto? dataOwner) {
  return dataOwner?.hcPartyKeys.entries.map<MapEntry<String, String>>((entry) => MapEntry<String, String>(entry.key, entry.value[0])) ??
      Iterable<MapEntry<String, String>>.empty();
}