SocketUseCase class

Implement Use Case Web Socket ///

Implemented types
Implementers

Constructors

SocketUseCase.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket WebSocketService?
service web socket
getter/setter pair

Methods

close() Future<void>
Close Web Socket ///
override
connect({required WebSocketService socketService, required dynamic onOpen()?, required dynamic onMessage(dynamic)?, required dynamic onClose(int? code, String? reason)?}) Future<void>
Connect to Web Socket ///
override
getSocket() WebSocketService?
Get Socket Instance ///
override
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