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