copyWith method
VChatGroupChatInfo
copyWith({
- String? title,
- String? imageThumb,
- int? totalGroupMembers,
- VChatUserGroupRole? role,
- bool? isGroupCreator,
Implementation
VChatGroupChatInfo copyWith({
String? title,
String? imageThumb,
int? totalGroupMembers,
VChatUserGroupRole? role,
bool? isGroupCreator,
}) {
return VChatGroupChatInfo(
title: title ?? this.title,
imageThumb: imageThumb ?? this.imageThumb,
totalGroupMembers: totalGroupMembers ?? this.totalGroupMembers,
role: role ?? this.role,
isGroupCreator: isGroupCreator ?? this.isGroupCreator,
);
}