copyWith method

UserInfoAccount copyWith({
  1. int? id,
  2. String? userName,
  3. int? type,
  4. int? status,
  5. int? whitelistAuthority,
  6. int? createTime,
  7. int? tokenVersion,
  8. int? ban,
  9. int? baoyueVersion,
  10. int? donateVersion,
  11. int? vipType,
  12. bool? anonimousUser,
  13. bool? paidFee,
})

Implementation

UserInfoAccount copyWith({
  int? id,
  String? userName,
  int? type,
  int? status,
  int? whitelistAuthority,
  int? createTime,
  int? tokenVersion,
  int? ban,
  int? baoyueVersion,
  int? donateVersion,
  int? vipType,
  bool? anonimousUser,
  bool? paidFee,
}) {
  return UserInfoAccount()
    ..id = id ?? this.id
    ..userName = userName ?? this.userName
    ..type = type ?? this.type
    ..status = status ?? this.status
    ..whitelistAuthority = whitelistAuthority ?? this.whitelistAuthority
    ..createTime = createTime ?? this.createTime
    ..tokenVersion = tokenVersion ?? this.tokenVersion
    ..ban = ban ?? this.ban
    ..baoyueVersion = baoyueVersion ?? this.baoyueVersion
    ..donateVersion = donateVersion ?? this.donateVersion
    ..vipType = vipType ?? this.vipType
    ..anonimousUser = anonimousUser ?? this.anonimousUser
    ..paidFee = paidFee ?? this.paidFee;
}