TF-348 Fix unread email counter not updating

This commit is contained in:
dab246
2022-03-25 16:03:02 +07:00
committed by Dat H. Pham
parent 90cad03f56
commit aceac30149
16 changed files with 225 additions and 109 deletions
@@ -0,0 +1,22 @@
import 'package:core/core.dart';
import 'package:jmap_dart_client/jmap/core/state.dart';
import 'package:model/model.dart';
class RefreshChangesAllEmailSuccess extends UIState {
final List<PresentationEmail> emailList;
final State? currentEmailState;
RefreshChangesAllEmailSuccess({required this.emailList, this.currentEmailState});
@override
List<Object?> get props => [emailList, currentEmailState];
}
class RefreshChangesAllEmailFailure extends FeatureFailure {
final exception;
RefreshChangesAllEmailFailure(this.exception);
@override
List<Object> get props => [exception];
}