cancel method

Future<InvoiceModel> cancel({
  1. required String id,
  2. String customApiToken = '',
})

Implementation

Future<InvoiceModel> cancel({required String id, String customApiToken = ''}) async {
  var retorno = await apiResource.put(partOfUrl: "/$id/cancel", apiUserToken: customApiToken);
  return InvoiceModel.fromMap(retorno);
}