CastChannel.CreateWithSocket constructor

CastChannel.CreateWithSocket(
  1. Socket? socket, {
  2. String? sourceId,
  3. String? destinationId,
  4. String? namespace,
})

Implementation

CastChannel.CreateWithSocket(Socket? socket,
    {String? sourceId, String? destinationId, String? namespace})
    : _socket = socket,
      _sourceId = sourceId,
      _destinationId = destinationId,
      _namespace = namespace;