findAll method

List<Complaint>? findAll(
  1. int userId
)

Implementation

List<Complaint>? findAll(int userId) {
  return _complaintRepository?.findAllComplaintsByUserId(userId);
}