onCameraResolutionChanged method Null safety
- int cameraId
override
Emits an empty stream as there is no event corresponding to a change in the camera resolution on the web.
In order to change the camera resolution a new camera with appropriate
CameraOptions.video
constraints has to be created and initialized.
Implementation
@override
Stream<CameraResolutionChangedEvent> onCameraResolutionChanged(int cameraId) {
return const Stream<CameraResolutionChangedEvent>.empty();
}