setVideoSize method
Sets the width and height of the video to be captured.
Must be called after setVideoSource. Call this after setOutputFormat but before prepare.
Throws PlatformException if it is called after prepare or before setOutputFormat.
Implementation
Future<void> setVideoSize(int width, int height) {
return _channel.$setVideoSize(this, width, height);
}