findAll method

Response findAll(
  1. String category
)

Implementation

http.Response findAll(String category) {
  List<Offer>? offers = _offerService?.findOffersByCategory(category);
  return http.Response(jsonEncode(offers), HttpStatus.ok);
}