User constructor
User({})
Implementation
factory User({
$core.String? id,
$core.String? name,
$core.String? phone,
User_Gender? gender,
$core.String? avatar,
$core.String? bio,
$core.int? birthday,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (name != null) {
_result.name = name;
}
if (phone != null) {
_result.phone = phone;
}
if (gender != null) {
_result.gender = gender;
}
if (avatar != null) {
_result.avatar = avatar;
}
if (bio != null) {
_result.bio = bio;
}
if (birthday != null) {
_result.birthday = birthday;
}
return _result;
}