getAll method
Implementation
Future<ResponseListDTO<NotificationDTO>> getAll({QueryModel? query}) async {
final response = await _http!.request(
requestType: RequestType.get,
path: '/notifications',
query: query,
);
return ResponseListDTO<NotificationDTO>(
response: response,
fromJson: NotificationDTO.fromJson,
);
}