ChatroomService class
Constructors
- ChatroomService()
-
factory
Properties
- chatRoom ↔ Chat
-
getter/setter pair
- currentRoomId ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings ↔ Settings
-
getter/setter pair
Methods
-
createRoom(
String roomId, String roomName, List< Member> members) → Stream<AsyncStatus> - 创建房间
-
initService(
Settings config) → Future -
joinChannel(
String roomId) → ChannelService? -
joinCommingRoom(
NewRoomEvent roomEvent) → void - 加入一个未同步的房间
-
joinRoom(
String roomId) → void - 加入一个已经同步过来的房间
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
roomList(
) → List< Room> - 房间列表
-
roomMessageList(
String roomId) → List< Message> - 房间的消息列表
-
roomMessageStream(
String roomId) → Stream< int> - 监听消息流,返回0表示应该中断流
-
speak(
String message) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited