TF-78 Implement automatically marked as read when open one email

This commit is contained in:
dab246
2021-09-14 10:26:54 +07:00
committed by Dat H. Pham
parent c4b3109294
commit 3219aedc70
11 changed files with 113 additions and 2 deletions
@@ -0,0 +1,18 @@
import 'package:core/core.dart';
class MarkAsEmailReadSuccess extends UIState {
MarkAsEmailReadSuccess();
@override
List<Object?> get props => [];
}
class MarkAsEmailReadFailure extends FeatureFailure {
final exception;
MarkAsEmailReadFailure(this.exception);
@override
List<Object> get props => [exception];
}