eciesDecryptFuture method
Decrypted text or array of decrypted texts (null for failed decodings).
Implementation
Future<Message> eciesDecryptFuture(
dynamic params, {
int privateKey = 0,
}) async {
var resultStr = await ZeroNet.instance.cmdFuture(
ZeroNetCmd.eciesDecrypt,
params: {
'param': params,
'privatekey': privateKey,
},
);
return resultStr.toMessage();
}