shareWithMany method
Implementation
Future<DecryptedReceipt> shareWithMany(String sdkId, DecryptedReceipt receipt, Map<String, ReceiptShareOptions> delegates) async {
final res = await _methodChannel.invokeMethod<String>(
'ReceiptApi.shareWithMany',
{
"sdkId": sdkId,
"receipt": jsonEncode(DecryptedReceipt.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 DecryptedReceipt.fromJSON(parsedResJson);
}