mergeTo method
Implementation
Future<EncryptedInvoice> mergeTo(String sdkId, String invoiceId, List<String> ids) async {
final res = await _methodChannel.invokeMethod<String>(
'InvoiceBasicApi.mergeTo',
{
"sdkId": sdkId,
"invoiceId": jsonEncode(invoiceId),
"ids": jsonEncode(ids.map((x0) => x0).toList()),
}
);
if (res == null) throw AssertionError("received null result from platform method mergeTo");
final parsedResJson = jsonDecode(res);
return EncryptedInvoice.fromJSON(parsedResJson);
}