TF-34 Add domain layer MailboxDashBoard for fix bug mock data user

This commit is contained in:
dab246
2021-08-25 13:13:04 +07:00
committed by Dat H. Pham
parent cae1252fc8
commit 4393caf179
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,21 @@
import 'package:core/core.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:model/model.dart';
class GetUserProfileSuccess extends UIState {
final UserProfile userProfile;
GetUserProfileSuccess(this.userProfile);
@override
List<Object> get props => [];
}
class GetUserProfileFailure extends FeatureFailure {
final exception;
GetUserProfileFailure(this.exception);
@override
List<Object> get props => [exception];
}