copyWith method

VChatGroupUser copyWith({
  1. String? id,
  2. String? email,
  3. String? name,
  4. String? image,
  5. VChatUserGroupRole? vChatUserGroupRole,
})

Implementation

VChatGroupUser copyWith({
  String? id,
  String? email,
  String? name,
  String? image,
  VChatUserGroupRole? vChatUserGroupRole,
}) {
  return VChatGroupUser(
    id: id ?? this.id,
    email: email ?? this.email,
    name: name ?? this.name,
    image: image ?? this.image,
    vChatUserGroupRole: vChatUserGroupRole ?? this.vChatUserGroupRole,
  );
}