deleteInvoice method
Implementation
Future<DocIdentifier> deleteInvoice(String sdkId, String entityId) async {
final res = await _methodChannel.invokeMethod<String>(
'InvoiceBasicApi.deleteInvoice',
{
"sdkId": sdkId,
"entityId": jsonEncode(entityId),
}
);
if (res == null) throw AssertionError("received null result from platform method deleteInvoice");
final parsedResJson = jsonDecode(res);
return DocIdentifier.fromJSON(parsedResJson);
}