Files
workavia-mail-front/lib/features/mailbox/domain/state/search_mailbox_state.dart
T
dab246 500767ce7c TF-2078 Hide mailbox loading bar when change state email
(cherry picked from commit 50fa29b2cd403dd3618cf6723e1a70e00c1e7a20)
2023-08-18 21:29:50 +07:00

20 lines
562 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 LoadingState {}
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);
}