onCameraResolutionChanged method
The camera's resolution has changed. On Web this returns an empty stream.
Implementation
@override
Stream<CameraResolutionChangedEvent> onCameraResolutionChanged(int cameraId) {
return _cameraEvents(cameraId).whereType<CameraResolutionChangedEvent>();
}