toConnectedDevice method

ConnectedDevice toConnectedDevice()

Mapping utility that converts this model into a ConnectedDevice instance suitable for transmission across the socket.

Implementation

ConnectedDevice toConnectedDevice() => ConnectedDevice(
      device: device,
      driverName: driverName,
      testControllerState: testControllerState!,
    );