copyWith method
ConversationItemUserProfile
copyWith(
{ - String? userID,
- String? nick,
- String? gender,
- int? birthday,
- String? location,
- String? selfSignature,
- String? allowType,
- int? language,
- String? avatar,
- int? messageSettings,
- String? adminForbidType,
- int? level,
- int? role,
- int? lastUpdatedTime,
- List? profileCustomField,
})
Implementation
ConversationItemUserProfile copyWith({
String? userID,
String? nick,
String? gender,
int? birthday,
String? location,
String? selfSignature,
String? allowType,
int? language,
String? avatar,
int? messageSettings,
String? adminForbidType,
int? level,
int? role,
int? lastUpdatedTime,
List<dynamic>? profileCustomField,
}) {
return ConversationItemUserProfile()
..userID = userID ?? this.userID
..nick = nick ?? this.nick
..gender = gender ?? this.gender
..birthday = birthday ?? this.birthday
..location = location ?? this.location
..selfSignature = selfSignature ?? this.selfSignature
..allowType = allowType ?? this.allowType
..language = language ?? this.language
..avatar = avatar ?? this.avatar
..messageSettings = messageSettings ?? this.messageSettings
..adminForbidType = adminForbidType ?? this.adminForbidType
..level = level ?? this.level
..role = role ?? this.role
..lastUpdatedTime = lastUpdatedTime ?? this.lastUpdatedTime
..profileCustomField = profileCustomField ?? this.profileCustomField;
}