copyWith method
LoginAccount
copyWith(
{ - int? id,
- String? userName,
- int? type,
- int? status,
- int? whitelistAuthority,
- int? createTime,
- String? salt,
- int? tokenVersion,
- int? ban,
- int? baoyueVersion,
- int? donateVersion,
- int? vipType,
- int? viptypeVersion,
- bool? anonimousUser,
- bool? uninitialized,
})
Implementation
LoginAccount copyWith({
int? id,
String? userName,
int? type,
int? status,
int? whitelistAuthority,
int? createTime,
String? salt,
int? tokenVersion,
int? ban,
int? baoyueVersion,
int? donateVersion,
int? vipType,
int? viptypeVersion,
bool? anonimousUser,
bool? uninitialized,
}) {
return LoginAccount()
..id = id ?? this.id
..userName = userName ?? this.userName
..type = type ?? this.type
..status = status ?? this.status
..whitelistAuthority = whitelistAuthority ?? this.whitelistAuthority
..createTime = createTime ?? this.createTime
..salt = salt ?? this.salt
..tokenVersion = tokenVersion ?? this.tokenVersion
..ban = ban ?? this.ban
..baoyueVersion = baoyueVersion ?? this.baoyueVersion
..donateVersion = donateVersion ?? this.donateVersion
..vipType = vipType ?? this.vipType
..viptypeVersion = viptypeVersion ?? this.viptypeVersion
..anonimousUser = anonimousUser ?? this.anonimousUser
..uninitialized = uninitialized ?? this.uninitialized;
}