cameraEventStreamController property
The controller we need to broadcast the different events coming from handleMethodCall, specific to camera events.
It is a broadcast
because multiple controllers will connect to
different stream views of this Controller.
This is only exposed for test purposes. It shouldn't be used by clients of
the plugin as it may break or change at any time.
Implementation
@visibleForTesting
final StreamController<CameraEvent> cameraEventStreamController =
StreamController<CameraEvent>.broadcast();