locationChannel static method

WebSocketChannel locationChannel(
  1. int id
)

Implementation

static WebSocketChannel locationChannel(int id) {
  final url = Uri.parse("wss://sae.tib.org/saews/public-events/$id");
  final channel = WebSocketChannel.connect(url);
  return channel;
}