Chat class

Constructors

Chat.fromMap(Map map)
Chat.make({required List<Room> rooms, required StorageBase storage, required MessageBase channel})

Properties

channel MessageBase
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rooms List<Room>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage StorageBase
getter/setter pair

Methods

asMap() Map
BeInvitedToARoom(NewRoomEvent event, Member me) Future
被邀请进入一个聊天室
createRoom(NewRoomEvent event, List<Member> members) Stream<AsyncStatus>
本地创建一个聊天室
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reloadRooms() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ROMMSKEY → const String