copyWith method
UserInfoProfile
copyWith({
- int? userId,
- int? userType,
- String? nickname,
- int? avatarImgId,
- String? avatarUrl,
- int? backgroundImgId,
- String? backgroundUrl,
- String? signature,
- int? createTime,
- String? userName,
- int? accountType,
- String? shortUserName,
- int? birthday,
- int? authority,
- int? gender,
- int? accountStatus,
- int? province,
- int? city,
- int? authStatus,
- String? description,
- String? detailDescription,
- bool? defaultAvatar,
- dynamic expertTags,
- dynamic experts,
- int? djStatus,
- int? locationStatus,
- int? vipType,
- bool? followed,
- bool? mutual,
- bool? authenticated,
- int? lastLoginTime,
- String? lastLoginIP,
- String? remarkName,
- int? viptypeVersion,
- int? authenticationTypes,
- dynamic avatarDetail,
- bool? anchor,
Implementation
UserInfoProfile copyWith({
int? userId,
int? userType,
String? nickname,
int? avatarImgId,
String? avatarUrl,
int? backgroundImgId,
String? backgroundUrl,
String? signature,
int? createTime,
String? userName,
int? accountType,
String? shortUserName,
int? birthday,
int? authority,
int? gender,
int? accountStatus,
int? province,
int? city,
int? authStatus,
String? description,
String? detailDescription,
bool? defaultAvatar,
dynamic expertTags,
dynamic experts,
int? djStatus,
int? locationStatus,
int? vipType,
bool? followed,
bool? mutual,
bool? authenticated,
int? lastLoginTime,
String? lastLoginIP,
String? remarkName,
int? viptypeVersion,
int? authenticationTypes,
dynamic avatarDetail,
bool? anchor,
}) {
return UserInfoProfile()
..userId = userId ?? this.userId
..userType = userType ?? this.userType
..nickname = nickname ?? this.nickname
..avatarImgId = avatarImgId ?? this.avatarImgId
..avatarUrl = avatarUrl ?? this.avatarUrl
..backgroundImgId = backgroundImgId ?? this.backgroundImgId
..backgroundUrl = backgroundUrl ?? this.backgroundUrl
..signature = signature ?? this.signature
..createTime = createTime ?? this.createTime
..userName = userName ?? this.userName
..accountType = accountType ?? this.accountType
..shortUserName = shortUserName ?? this.shortUserName
..birthday = birthday ?? this.birthday
..authority = authority ?? this.authority
..gender = gender ?? this.gender
..accountStatus = accountStatus ?? this.accountStatus
..province = province ?? this.province
..city = city ?? this.city
..authStatus = authStatus ?? this.authStatus
..description = description ?? this.description
..detailDescription = detailDescription ?? this.detailDescription
..defaultAvatar = defaultAvatar ?? this.defaultAvatar
..expertTags = expertTags ?? this.expertTags
..experts = experts ?? this.experts
..djStatus = djStatus ?? this.djStatus
..locationStatus = locationStatus ?? this.locationStatus
..vipType = vipType ?? this.vipType
..followed = followed ?? this.followed
..mutual = mutual ?? this.mutual
..authenticated = authenticated ?? this.authenticated
..lastLoginTime = lastLoginTime ?? this.lastLoginTime
..lastLoginIP = lastLoginIP ?? this.lastLoginIP
..remarkName = remarkName ?? this.remarkName
..viptypeVersion = viptypeVersion ?? this.viptypeVersion
..authenticationTypes = authenticationTypes ?? this.authenticationTypes
..avatarDetail = avatarDetail ?? this.avatarDetail
..anchor = anchor ?? this.anchor;
}