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