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