toJson method
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'horizontalFOV': horizontalFOV,
'verticalFOV': verticalFOV,
'frameWidth': frameWidth,
'frameHeight': frameHeight,
'pixelFormat': pixelFormat.id,
'frameRate': frameRate,
'orientation': orientation.id,
'focalLengthHorizontal': focalLengthHorizontal,
'focalLengthVertical': focalLengthVertical,
'focalLengthMinimum': focalLengthMinimum,
'physicalSensorWidth': physicalSensorWidth,
'physicalSensorHeight': physicalSensorHeight,
'exposure': exposure,
'minExposure': minExposure,
'maxExposure': maxExposure,
'exposureTargetOffset': exposureTargetOffset,
'isoValue': isoValue,
'minIso': minIso,
'maxIso': maxIso,
};
}