TF-1600 Implement GetMailboxesNotPutNotificationsInteractor

(cherry picked from commit ba849b288e4e943648c35bf6a494eaa804b049b6)
This commit is contained in:
dab246
2023-03-30 19:09:17 +07:00
committed by Dat Vu
parent 0c9d7ec4d3
commit 4c64fefe75
4 changed files with 79 additions and 1 deletions
@@ -0,0 +1,24 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:model/mailbox/presentation_mailbox.dart';
class GetMailboxesNotPutNotificationsLoading extends UIState {}
class GetMailboxesNotPutNotificationsSuccess extends UIState {
final List<PresentationMailbox> mailboxes;
GetMailboxesNotPutNotificationsSuccess(this.mailboxes);
@override
List<Object> get props => [mailboxes];
}
class GetMailboxesNotPutNotificationsFailure extends FeatureFailure {
GetMailboxesNotPutNotificationsFailure(exception) : super(exception: exception);
@override
List<Object?> get props => [exception];
}