findAll method

Response findAll(
  1. int userId
)

Implementation

http.Response findAll(int userId) {
  List<Complaint>? complaints = _complaintService?.findAll(userId);
  return http.Response(jsonEncode(complaints), HttpStatus.ok);
}