initModel method
Implementation
initModel(BuildContext context) async {
final size = MediaQuery.of(context).size;
deviceRatio = size.width / size.height;
cameraController = MobileScannerController(
detectionSpeed: DetectionSpeed.noDuplicates,
facing: CameraFacing.back,
);
// setTestData(false);
}