TF-1897 Implement resend sending email when failed
(cherry picked from commit f508b65688503e9ae8ece5a1924e84481b98a39e)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:tmail_ui_user/features/sending_queue/domain/model/sending_email.dart';
|
||||
|
||||
class UpdateMultipleSendingEmailLoading extends UIState {}
|
||||
|
||||
class UpdateMultipleSendingEmailAllSuccess extends UIState {
|
||||
final List<SendingEmail> newSendingEmails;
|
||||
|
||||
UpdateMultipleSendingEmailAllSuccess(this.newSendingEmails);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [newSendingEmails];
|
||||
}
|
||||
|
||||
class UpdateMultipleSendingEmailHasSomeSuccess extends UIState {
|
||||
final List<SendingEmail> newSendingEmails;
|
||||
|
||||
UpdateMultipleSendingEmailHasSomeSuccess(this.newSendingEmails);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [newSendingEmails];
|
||||
}
|
||||
|
||||
class UpdateMultipleSendingEmailAllFailure extends FeatureFailure {
|
||||
|
||||
UpdateMultipleSendingEmailAllFailure(dynamic exception) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
|
||||
class UpdateMultipleSendingEmailFailure extends FeatureFailure {
|
||||
|
||||
UpdateMultipleSendingEmailFailure(dynamic exception) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user