User constructor
User({})
Implementation
factory User({
$core.String? id,
$core.String? email,
$core.String? password,
Gender? gender,
$1.Timestamp? birthday,
CountryCode? country,
$core.bool? blocked,
LanguageCode? preferredLanguage,
$core.String? name,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
$core.String? ssnId,
$core.String? ssnHash,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (email != null) {
_result.email = email;
}
if (password != null) {
_result.password = password;
}
if (gender != null) {
_result.gender = gender;
}
if (birthday != null) {
_result.birthday = birthday;
}
if (country != null) {
_result.country = country;
}
if (blocked != null) {
_result.blocked = blocked;
}
if (preferredLanguage != null) {
_result.preferredLanguage = preferredLanguage;
}
if (name != null) {
_result.name = name;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (ssnId != null) {
_result.ssnId = ssnId;
}
if (ssnHash != null) {
_result.ssnHash = ssnHash;
}
return _result;
}