User constructor
User({
- String? id,
- String? username,
- String? displayName,
- String? avatarUrl,
- String? langTag,
- String? location,
- String? timezone,
- String? metadata,
- String? facebookId,
- String? googleId,
- String? gamecenterId,
- String? steamId,
- bool? online,
- int? edgeCount,
- Timestamp? createTime,
- Timestamp? updateTime,
- String? facebookInstantGameId,
- String? appleId,
Implementation
factory User({
$core.String? id,
$core.String? username,
$core.String? displayName,
$core.String? avatarUrl,
$core.String? langTag,
$core.String? location,
$core.String? timezone,
$core.String? metadata,
$core.String? facebookId,
$core.String? googleId,
$core.String? gamecenterId,
$core.String? steamId,
$core.bool? online,
$core.int? edgeCount,
$0.Timestamp? createTime,
$0.Timestamp? updateTime,
$core.String? facebookInstantGameId,
$core.String? appleId,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (username != null) {
_result.username = username;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (avatarUrl != null) {
_result.avatarUrl = avatarUrl;
}
if (langTag != null) {
_result.langTag = langTag;
}
if (location != null) {
_result.location = location;
}
if (timezone != null) {
_result.timezone = timezone;
}
if (metadata != null) {
_result.metadata = metadata;
}
if (facebookId != null) {
_result.facebookId = facebookId;
}
if (googleId != null) {
_result.googleId = googleId;
}
if (gamecenterId != null) {
_result.gamecenterId = gamecenterId;
}
if (steamId != null) {
_result.steamId = steamId;
}
if (online != null) {
_result.online = online;
}
if (edgeCount != null) {
_result.edgeCount = edgeCount;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (updateTime != null) {
_result.updateTime = updateTime;
}
if (facebookInstantGameId != null) {
_result.facebookInstantGameId = facebookInstantGameId;
}
if (appleId != null) {
_result.appleId = appleId;
}
return _result;
}