setVideoFrameRate method
Sets the frame rate of the video to be captured in frames per second.
Must be called after setVideoSource. Call this after setOutputFormat but before prepare.
Throws PlatformException if it is called after prepare or before setOutputFormat. NOTE: On some devices that have auto-frame rate, this sets the maximum frame rate, not a constant frame rate. Actual frame rate will vary according to lighting conditions.
Implementation
Future<void> setVideoFrameRate(int rate) {
return _channel.$setVideoFrameRate(this, rate);
}