6aa87ff012
(cherry picked from commit 744c8bc8dc8a82cb3afb75aead5a744adaae5501)
25 lines
709 B
Dart
25 lines
709 B
Dart
import 'package:core/presentation/state/failure.dart';
|
|
import 'package:core/presentation/state/success.dart';
|
|
import 'package:jmap_dart_client/jmap/core/state.dart' as jmap;
|
|
import 'package:tmail_ui_user/features/base/state/ui_action_state.dart';
|
|
|
|
class SendEmailLoading extends UIState {}
|
|
|
|
class SendEmailSuccess extends UIActionState {
|
|
|
|
SendEmailSuccess({
|
|
jmap.State? currentEmailState,
|
|
jmap.State? currentMailboxState,
|
|
}) : super(currentEmailState, currentMailboxState);
|
|
|
|
@override
|
|
List<Object?> get props => [];
|
|
}
|
|
|
|
class SendEmailFailure extends FeatureFailure {
|
|
|
|
SendEmailFailure(dynamic exception) : super(exception: exception);
|
|
|
|
@override
|
|
List<Object?> get props => [exception];
|
|
} |