[Thread Detail] [Part 1] TF-3639 data layer and controller (#3645)
This commit is contained in:
@@ -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});
|
||||
}
|
||||
Reference in New Issue
Block a user