copyWith method
ConversationItemGroupProfile
copyWith({
- String? groupID,
- String? name,
- String? avatar,
- String? type,
- String? introduction,
- String? notification,
- String? ownerID,
- String? createTime,
- Map? selfInfo,
- Map? lastMessage,
- int? nextMessageSeq,
- int? memberCount,
- int? maxMemberCount,
- String? joinOption,
- String? inviteOption,
- bool? muteAllMembers,
- bool? isSupportTopic,
Implementation
ConversationItemGroupProfile copyWith({
String? groupID,
String? name,
String? avatar,
String? type,
String? introduction,
String? notification,
String? ownerID,
String? createTime,
Map? selfInfo,
Map? lastMessage,
int? nextMessageSeq,
int? memberCount,
int? maxMemberCount,
String? joinOption,
String? inviteOption,
bool? muteAllMembers,
bool? isSupportTopic,
}) {
return ConversationItemGroupProfile()
..groupID = groupID ?? this.groupID
..name = name ?? this.name
..avatar = avatar ?? this.avatar
..type = type ?? this.type
..introduction = introduction ?? this.introduction
..notification = notification ?? this.notification
..ownerID = ownerID ?? this.ownerID
..createTime = createTime ?? this.createTime
..selfInfo = selfInfo ?? this.selfInfo
..lastMessage = lastMessage ?? this.lastMessage
..nextMessageSeq = nextMessageSeq ?? this.nextMessageSeq
..memberCount = memberCount ?? this.memberCount
..maxMemberCount = maxMemberCount ?? this.maxMemberCount
..joinOption = joinOption ?? this.joinOption
..inviteOption = inviteOption ?? this.inviteOption
..muteAllMembers = muteAllMembers ?? this.muteAllMembers
..isSupportTopic = isSupportTopic ?? this.isSupportTopic;
}