mirror of
https://github.com/immich-app/immich.git
synced 2025-03-30 20:59:37 +02:00
30 lines
697 B
Dart
30 lines
697 B
Dart
class LoginResponse {
|
|
final String accessToken;
|
|
|
|
final bool isAdmin;
|
|
|
|
final String name;
|
|
|
|
final String profileImagePath;
|
|
|
|
final bool shouldChangePassword;
|
|
|
|
final String userEmail;
|
|
|
|
final String userId;
|
|
|
|
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]';
|
|
}
|
|
}
|