ForwardingClient constructor

ForwardingClient(
  1. ForwardingClientType clientType, {
  2. String? clientId,
})

Creates a new forwarding client.

@param clientType The type of client ('inspector' or 'flutter') @param clientId Optional client ID (will be generated if not provided)

Implementation

ForwardingClient(this.clientType, {String? clientId})
  : clientId = clientId ?? _generateUuid() {
  // Register ping method handler for connection testing
  _registerPingMethod();
}