CameraPosition constructor
CameraPosition({})
Creates a CameraPosition instance with the provided parameters.
The modelName should be the model name of the mobile device.
screenWidth and screenHeight represent the dimensions of the screen in pixels.
screenOriginX and screenOriginY are distances in millimeters from the front camera to the screen origin (0, 0).
cameraOnLongerAxis indicates whether the camera is mounted on the longer axis of the device (default is false).
Implementation
CameraPosition({
required this.modelName,
required this.screenWidth,
required this.screenHeight,
required this.screenOriginX,
required this.screenOriginY,
this.cameraOnLongerAxis = false,
});