position property
The position of a camera on a device.
Implementation
@override
intf.CameraPosition get position {
switch (info.facing) {
case CameraInfo.cameraFacingFront:
return CameraPosition.front;
case CameraInfo.cameraFacingBack:
return CameraPosition.back;
default:
return CameraPosition.unspecified;
}
}