delete method

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

Implementation

Future<InvoiceModel> delete({required String id}) async {
  var retorno = await apiResource.delete(id: id);
  return InvoiceModel.fromMap(retorno);
}