withNewEnhancedRoomModel method

ChatLoaded withNewEnhancedRoomModel(
  1. EnhancedRoomModel newRoom
)

Implementation

ChatLoaded withNewEnhancedRoomModel(EnhancedRoomModel newRoom) {
  return ChatLoaded(
      room: newRoom, mightHaveMore: mightHaveMore, values: values);
}