Fixed important in notification

This commit is contained in:
llsajjad
2025-09-27 14:57:42 +03:30
parent 359f7f2608
commit ca81da026d
5 changed files with 36 additions and 21 deletions
@@ -1,3 +1,4 @@
// notification_repository.dart
import 'package:tm_app/core/utils/result.dart';
import 'package:tm_app/data/services/model/notification__response/notification_response_model.dart';
import 'package:tm_app/data/services/notification_service.dart';
@@ -28,4 +29,14 @@ class NotificationsRepository {
offset: offset,
);
}
Future<Result<NotificationResponseModel>> getImportantNotifications({
required int limit,
required int offset,
}) {
return _notificationsService.getImportantNotifications(
limit: limit,
offset: offset,
);
}
}