discontinuedPackage automated_testing_framework_driver_websocket has been discontinued.

commandStream property

Stream<DeviceCommand> get commandStream

Provides a stream of commands that an application can listen to in order to provide their own handlers or actions based off of commands received.

Implementation

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