TF-35 Implement search mailbox
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:model/mailbox/presentation_mailbox.dart';
|
||||
|
||||
class SearchMailboxSuccess extends UIState {
|
||||
|
||||
final List<PresentationMailbox> mailboxesSearched;
|
||||
|
||||
SearchMailboxSuccess(this.mailboxesSearched);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [mailboxesSearched];
|
||||
}
|
||||
|
||||
class SearchMailboxFailure extends FeatureFailure {
|
||||
final exception;
|
||||
|
||||
SearchMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user