toEntity method
Implementation
@override
RoomEntity toEntity({String? appId}) {
return RoomEntity(
ownerId: ownerId,
appId: appId,
description: (description != null) ? description : null,
isRoom: (isRoom != null) ? isRoom : null,
members: (members != null) ? members : null,
timestamp: (timestamp == null) ? null : timestamp!.millisecondsSinceEpoch,
);
}