Room class

Inheritance

Constructors

Room(Connector connector)

Properties

connected bool
getter/setter pairinherited
connector Connector
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pairoverride
onDisconnect ↔ (dynamic Function(Disconnect discon)?)
getter/setter pair
onError ↔ (dynamic Function(Error err)?)
getter/setter pair
onJoin ↔ (dynamic Function(JoinResult result)?)
getter/setter pair
onLeave ↔ (dynamic Function(String reason)?)
getter/setter pair
onMessage ↔ (dynamic Function(Message msg)?)
getter/setter pair
onPeerEvent ↔ (dynamic Function(PeerEvent event)?)
getter/setter pair
onRoomInfo ↔ (dynamic Function(RoomInfo info)?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
override
connect() Future<void>
override
join({required Peer peer, String? password}) Future<JoinResult>?
leave(String uid) → void
message(Message message) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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