BrowserWebSocketsService<Id, Data> constructor Null safety

BrowserWebSocketsService<Id, Data>(
  1. WebSocketChannel? socket,
  2. WebSockets app,
  3. String uri,
  4. {Type? type,
  5. AngelDeserializer<Data>? deserializer}
)

Implementation

BrowserWebSocketsService(WebSocketChannel? socket, WebSockets app, String uri,
    {this.type, AngelDeserializer<Data>? deserializer})
    : super(socket, app, uri, deserializer: deserializer);