User constructor
Implementation
factory User({
$core.String? uid,
$core.String? nickname,
$core.String? avatar,
$core.String? type,
$core.String? extra,
}) {
final $result = create();
if (uid != null) {
$result.uid = uid;
}
if (nickname != null) {
$result.nickname = nickname;
}
if (avatar != null) {
$result.avatar = avatar;
}
if (type != null) {
$result.type = type;
}
if (extra != null) {
$result.extra = extra;
}
return $result;
}