WebSocketsService<Id, Data> constructor Null safety

WebSocketsService<Id, Data>(
  1. WebSocketChannel? socket,
  2. BaseWebSocketClient app,
  3. String path,
  4. {AngelDeserializer<Data>? deserializer}
)

Implementation

WebSocketsService(this.socket, this.app, this.path, {this.deserializer}) {
  listen();
}