modifyInvoices method
Implementation
Future<List<EncryptedInvoice>> modifyInvoices(String sdkId, List<EncryptedInvoice> entities) async {
final res = await _methodChannel.invokeMethod<String>(
'InvoiceApi.encrypted.modifyInvoices',
{
"sdkId": sdkId,
"entities": jsonEncode(entities.map((x0) => EncryptedInvoice.encode(x0)).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method modifyInvoices");
final parsedResJson = jsonDecode(res);
return (parsedResJson as List<dynamic>).map((x1) => EncryptedInvoice.fromJSON(x1) ).toList();
}