BeDevice constructor

BeDevice({
  1. required BeDeviceParameter deviceParameter,
  2. required String deviceIndex,
  3. required String deviceName,
  4. required String deviceParameterType,
  5. required List<InterfaceMode> supportedInterfaceModes,
  6. required List<Device> devices,
})

Implementation

BeDevice(
    {required BeDeviceParameter deviceParameter,
    required String deviceIndex,
    required String deviceName,
    required String deviceParameterType,
    required List<InterfaceMode> supportedInterfaceModes,
    required List<Device> devices})
    : super(
          deviceParameter: deviceParameter,
          devices: devices,
          deviceParameterType: deviceParameterType,
          deviceName: deviceName,
          deviceIndex: deviceIndex,
          supportedInterfaceModes: supportedInterfaceModes,
          socketService: SocketService(ip: deviceParameter.ipAndPort.ip, port: int.tryParse(deviceParameter.ipAndPort.port)??0)

);