commandStream property

  1. @override
Stream<DeviceCommand> get commandStream

Returns the stream that will fire whenever the communicator receives a command from the external driver. This may return null if the communicator is not currently active.

Implementation

@override
Stream<DeviceCommand> get commandStream => _commandStreamController!.stream;