Fixed important in notification
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user