getCurrentCameraInput method
Implementation
String getCurrentCameraInput() {
final facingMode = CameraManager().currentFacingMode;
if (facingMode == "user") {
return "front";
} else {
return "back";
}
}
String getCurrentCameraInput() {
final facingMode = CameraManager().currentFacingMode;
if (facingMode == "user") {
return "front";
} else {
return "back";
}
}