0583406e3b
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
19 lines
608 B
Dart
19 lines
608 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);
|
|
}
|
|
|
|
class SendEmailFailure extends FeatureFailure {
|
|
|
|
SendEmailFailure(dynamic exception) : super(exception: exception);
|
|
} |