TF-1018 Implement GetAppDashboardConfiguration interactor
This commit is contained in:
committed by
Dat H. Pham
parent
2b259809f7
commit
8877651894
+24
@@ -0,0 +1,24 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox_dashboard/domain/app_dashboard/linagora_applications.dart';
|
||||
|
||||
class LoadingAppDashboardConfiguration extends UIState {}
|
||||
|
||||
class GetAppDashboardConfigurationSuccess extends UIState {
|
||||
|
||||
final LinagoraApplications linagoraApplications;
|
||||
|
||||
GetAppDashboardConfigurationSuccess(this.linagoraApplications);
|
||||
|
||||
@override
|
||||
List<Object> get props => [linagoraApplications];
|
||||
}
|
||||
|
||||
class GetAppDashboardConfigurationFailure extends FeatureFailure {
|
||||
final dynamic exception;
|
||||
|
||||
GetAppDashboardConfigurationFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user