decodePhrase function
Implementation
Future<String> decodePhrase(
Map<String, dynamic> keyStore,
String psw,
) async {
final response = ReceivePort();
try {
await Isolate.spawn(
_decodePhrase,
[response.sendPort, keyStore, psw],
);
return (await response.first) as String;
} catch (e) {
rethrow;
}
}