setBrightness static method
set brightness manually with range 0,1
Implementation
static Future<void> setBrightness(double brightness) {
if (brightness < 0 || brightness > 1) {
throw "Value must be between [0,1]";
}
return CameraInterface().setCorrection(brightness);
}