SocketIO class

Constructors

SocketIO({required String peerId, required String roomId, required String url})

Properties

hashCode int
The hash code for this object.
no setterinherited
onClose ↔ (dynamic Function()?)
getter/setter pair
onDisconnected ↔ (dynamic Function()?)
getter/setter pair
onFail ↔ (dynamic Function()?)
getter/setter pair
onNotification ↔ (dynamic Function(dynamic notification)?)
getter/setter pair
onOpen ↔ (dynamic Function()?)
getter/setter pair
onRequest ↔ (dynamic Function(dynamic request, dynamic accept, dynamic reject)?)
getter/setter pair
peerId String
final
roomId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket → Socket
no setter
url String
final

Methods

close() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendEventEmitter(dynamic method, dynamic data) → dynamic
send reuest emit to socket server use for send message to other peer
sendEventEmitterAck(dynamic method, dynamic data) → dynamic
send request emit to socket server and wait for response
toString() String
A string representation of this object.
inherited

Operators

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