findOneById method

Response findOneById(
  1. int badgeId
)

Implementation

http.Response findOneById(int badgeId) {
  Badge? badge = _badgeService?.findOneById(badgeId);
  return http.Response(jsonEncode(badge), HttpStatus.ok);
}