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

This commit is contained in:
dab246
2021-08-25 13:11:24 +07:00
committed by Dat H. Pham
parent b50cec44c2
commit b3e1534de3
5 changed files with 14 additions and 6 deletions
@@ -2,12 +2,12 @@ import 'package:core/core.dart';
import 'package:model/model.dart';
class AuthenticationUserViewState extends UIState {
final User user;
final UserProfile userProfile;
AuthenticationUserViewState(this.user);
AuthenticationUserViewState(this.userProfile);
@override
List<Object> get props => [user];
List<Object> get props => [userProfile];
}
class AuthenticationUserFailure extends FeatureFailure {