Source Code added
This commit is contained in:
parent
800376eafd
commit
9efa9bc6dd
3912 changed files with 754770 additions and 2 deletions
30
mobile/lib/models/auth/login_response.model.dart
Normal file
30
mobile/lib/models/auth/login_response.model.dart
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
class LoginResponse {
|
||||
final String accessToken;
|
||||
|
||||
final bool isAdmin;
|
||||
|
||||
final String name;
|
||||
|
||||
final String profileImagePath;
|
||||
|
||||
final bool shouldChangePassword;
|
||||
|
||||
final String userEmail;
|
||||
|
||||
final String userId;
|
||||
|
||||
const LoginResponse({
|
||||
required this.accessToken,
|
||||
required this.isAdmin,
|
||||
required this.name,
|
||||
required this.profileImagePath,
|
||||
required this.shouldChangePassword,
|
||||
required this.userEmail,
|
||||
required this.userId,
|
||||
});
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'LoginResponse[accessToken=$accessToken, isAdmin=$isAdmin, name=$name, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, userEmail=$userEmail, userId=$userId]';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue