shareWithMany method
Implementation
Future<EncryptedReceipt> shareWithMany(String sdkId, EncryptedReceipt receipt, Map<String, ReceiptShareOptions> delegates) async {
final res = await _methodChannel.invokeMethod<String>(
'ReceiptApi.encrypted.shareWithMany',
{
"sdkId": sdkId,
"receipt": jsonEncode(EncryptedReceipt.encode(receipt)),
"delegates": jsonEncode(delegates.map((k0, v0) => MapEntry(k0, ReceiptShareOptions.encode(v0)))),
}
);
if (res == null) throw AssertionError("received null result from platform method shareWithMany");
final parsedResJson = jsonDecode(res);
return EncryptedReceipt.fromJSON(parsedResJson);
}