0583406e3b
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
20 lines
557 B
Dart
20 lines
557 B
Dart
import 'package:core/presentation/state/failure.dart';
|
|
import 'package:core/presentation/state/success.dart';
|
|
import 'package:model/mailbox/presentation_mailbox.dart';
|
|
|
|
class LoadingSearchMailbox extends UIState {}
|
|
|
|
class SearchMailboxSuccess extends UIState {
|
|
|
|
final List<PresentationMailbox> mailboxesSearched;
|
|
|
|
SearchMailboxSuccess(this.mailboxesSearched);
|
|
|
|
@override
|
|
List<Object?> get props => [mailboxesSearched];
|
|
}
|
|
|
|
class SearchMailboxFailure extends FeatureFailure {
|
|
|
|
SearchMailboxFailure(dynamic exception) : super(exception: exception);
|
|
} |