copyWith method
RecommendResourceRecommendCreator
copyWith({
- int? accountStatus,
- int? vipType,
- int? province,
- String? avatarUrl,
- int? authStatus,
- int? userType,
- String? nickname,
- int? gender,
- int? birthday,
- int? city,
- String? backgroundUrl,
- int? avatarImgId,
- int? backgroundImgId,
- String? detailDescription,
- bool? defaultAvatar,
- List<
String> ? expertTags, - int? djStatus,
- bool? followed,
- bool? mutual,
- String? remarkName,
- String? avatarImgIdStr,
- String? backgroundImgIdStr,
- String? description,
- int? userId,
- String? signature,
- int? authority,
Implementation
RecommendResourceRecommendCreator copyWith({
int? accountStatus,
int? vipType,
int? province,
String? avatarUrl,
int? authStatus,
int? userType,
String? nickname,
int? gender,
int? birthday,
int? city,
String? backgroundUrl,
int? avatarImgId,
int? backgroundImgId,
String? detailDescription,
bool? defaultAvatar,
List<String>? expertTags,
int? djStatus,
bool? followed,
bool? mutual,
String? remarkName,
String? avatarImgIdStr,
String? backgroundImgIdStr,
String? description,
int? userId,
String? signature,
int? authority,
}) {
return RecommendResourceRecommendCreator()
..accountStatus = accountStatus ?? this.accountStatus
..vipType = vipType ?? this.vipType
..province = province ?? this.province
..avatarUrl = avatarUrl ?? this.avatarUrl
..authStatus = authStatus ?? this.authStatus
..userType = userType ?? this.userType
..nickname = nickname ?? this.nickname
..gender = gender ?? this.gender
..birthday = birthday ?? this.birthday
..city = city ?? this.city
..backgroundUrl = backgroundUrl ?? this.backgroundUrl
..avatarImgId = avatarImgId ?? this.avatarImgId
..backgroundImgId = backgroundImgId ?? this.backgroundImgId
..detailDescription = detailDescription ?? this.detailDescription
..defaultAvatar = defaultAvatar ?? this.defaultAvatar
..expertTags = expertTags ?? this.expertTags
..djStatus = djStatus ?? this.djStatus
..followed = followed ?? this.followed
..mutual = mutual ?? this.mutual
..remarkName = remarkName ?? this.remarkName
..avatarImgIdStr = avatarImgIdStr ?? this.avatarImgIdStr
..backgroundImgIdStr = backgroundImgIdStr ?? this.backgroundImgIdStr
..description = description ?? this.description
..userId = userId ?? this.userId
..signature = signature ?? this.signature
..authority = authority ?? this.authority;
}