[Thread Detail] [Part 1] TF-3639 data layer and controller (#3645)

This commit is contained in:
Dat Dang
2025-05-07 11:10:39 +07:00
committed by Dat H. Pham
parent 1bd0705fb3
commit 7c3af832e4
11 changed files with 231 additions and 0 deletions
@@ -0,0 +1,18 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:jmap_dart_client/jmap/mail/email/email.dart';
class GettingThreadById extends LoadingState {}
class GetThreadByIdSuccess extends UIState {
final List<EmailId> emailIds;
GetThreadByIdSuccess(this.emailIds);
@override
List<Object> get props => [emailIds];
}
class GetThreadByIdFailure extends FeatureFailure {
GetThreadByIdFailure({super.exception});
}