refund method

Future<InvoiceModel> refund(
  1. {required String id}
)

Implementation

Future<InvoiceModel> refund({required String id}) async {
  var retorno = await apiResource.post(partOfUrl: "/$id/refund");
  return InvoiceModel.fromMap(retorno);
}