UserProfile constructor
UserProfile({})
Implementation
factory UserProfile({
$core.String? profileImage,
$core.String? firstName,
$core.String? lastName,
$1.Timestamp? birthdate,
$2.CountryCode? preferredLanguage,
$core.String? country,
$core.String? address,
$core.String? city,
$core.String? postalCode,
GenderType? gender,
$core.String? ssn,
$core.String? coverImage,
}) {
final _result = create();
if (profileImage != null) {
_result.profileImage = profileImage;
}
if (firstName != null) {
_result.firstName = firstName;
}
if (lastName != null) {
_result.lastName = lastName;
}
if (birthdate != null) {
_result.birthdate = birthdate;
}
if (preferredLanguage != null) {
_result.preferredLanguage = preferredLanguage;
}
if (country != null) {
_result.country = country;
}
if (address != null) {
_result.address = address;
}
if (city != null) {
_result.city = city;
}
if (postalCode != null) {
_result.postalCode = postalCode;
}
if (gender != null) {
_result.gender = gender;
}
if (ssn != null) {
_result.ssn = ssn;
}
if (coverImage != null) {
_result.coverImage = coverImage;
}
return _result;
}