getAll method

Implementation

Future<ResponseListDTO<NotificationDTO>> getAll() async {
  var response = await _http!.request(
    requestType: RequestType.get,
    path: '/dashboard/notifications',
  );

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