getById method

Implementation

Future<ResponseItemDTO<NotificationDTO>> getById(String id) async {
  var response = await _http!.request(
    requestType: RequestType.get,
    path: '/dashboard/notifications/$id',
  );

  return ResponseItemDTO<NotificationDTO>(
    response: response,
    fromJson: NotificationDTO.fromJson,
  );
}