deviceEventStreamController property

StreamController<DeviceEvent> deviceEventStreamController
final

The controller used to broadcast general device events coming from the host platform.

It is a broadcast because multiple controllers will connect to different stream views of this Controller.

Implementation

final StreamController<DeviceEvent> deviceEventStreamController =
    StreamController<DeviceEvent>.broadcast();