roomMessageList method

List<Message> roomMessageList(
  1. String roomId
)

房间的消息列表

Implementation

List<Message> roomMessageList(String roomId) {
  return chatRoom.rooms
      .where((element) => element.roomId == roomId)
      .first
      .messages;
}