fromReader static method

CameraDevice fromReader(
  1. RecordReader r
)

Implementation

static CameraDevice fromReader(RecordReader r) => CameraDevice(
  id: r.readString(),
  name: r.readString(),
  position: r.readInt(),
  lensType: r.readInt(),
  sensorOrientation: r.readInt(),
  minZoom: r.readDouble(),
  maxZoom: r.readDouble(),
  neutralZoom: r.readDouble(),
  hasFlash: r.readInt(),
  hasTorch: r.readInt(),
  maxPhotoWidth: r.readInt(),
  maxPhotoHeight: r.readInt(),
  focalLength: r.readDouble(),
  aperture: r.readDouble(),
);