copyWith method

VChatGroupChatInfo copyWith({
  1. String? title,
  2. String? imageThumb,
  3. int? totalGroupMembers,
  4. VChatUserGroupRole? role,
  5. 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,
  );
}