copyWith method
Implementation
RoomEntity copyWith({
String? documentID,
String? ownerId,
String? appId,
String? description,
bool? isRoom,
List<String>? members,
Object? timestamp,
}) {
return RoomEntity(
ownerId: ownerId ?? this.ownerId,
appId: appId ?? this.appId,
description: description ?? this.description,
isRoom: isRoom ?? this.isRoom,
members: members ?? this.members,
timestamp: timestamp ?? this.timestamp,
);
}