copyWith method

UserInfoProfile copyWith({
  1. int? userId,
  2. int? userType,
  3. String? nickname,
  4. int? avatarImgId,
  5. String? avatarUrl,
  6. int? backgroundImgId,
  7. String? backgroundUrl,
  8. String? signature,
  9. int? createTime,
  10. String? userName,
  11. int? accountType,
  12. String? shortUserName,
  13. int? birthday,
  14. int? authority,
  15. int? gender,
  16. int? accountStatus,
  17. int? province,
  18. int? city,
  19. int? authStatus,
  20. String? description,
  21. String? detailDescription,
  22. bool? defaultAvatar,
  23. dynamic expertTags,
  24. dynamic experts,
  25. int? djStatus,
  26. int? locationStatus,
  27. int? vipType,
  28. bool? followed,
  29. bool? mutual,
  30. bool? authenticated,
  31. int? lastLoginTime,
  32. String? lastLoginIP,
  33. String? remarkName,
  34. int? viptypeVersion,
  35. int? authenticationTypes,
  36. dynamic avatarDetail,
  37. 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;
}