some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import 'package:be_happy/domain/entities/client_notification.dart';
|
||||
import 'package:be_happy/domain/repositories/notification_repository.dart';
|
||||
|
||||
class CancelNotificationUseCase {
|
||||
final NotificationRepository repository;
|
||||
|
||||
CancelNotificationUseCase(this.repository);
|
||||
|
||||
Future<ClientNotification> call(int id) async {
|
||||
return await repository.cancelNotification(id);
|
||||
}
|
||||
}
|
||||
import 'package:be_happy/domain/entities/client_notification.dart';
|
||||
import 'package:be_happy/domain/repositories/notification_repository.dart';
|
||||
|
||||
class CancelNotificationUseCase {
|
||||
final NotificationRepository repository;
|
||||
|
||||
CancelNotificationUseCase(this.repository);
|
||||
|
||||
Future<ClientNotification> call(int id) async {
|
||||
return await repository.cancelNotification(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user