toMap method
Converts this camera capability to a map using the native field names.
Implementation
Map<String, Object> toMap() {
return <String, Object>{
'cameraId': cameraId,
'lensFacing': lensFacing,
'hardwareLevel': hardwareLevel,
'hasFlash': hasFlash,
'sensorOrientation': sensorOrientation,
'supportsRawCapture': supportsRawCapture,
'supportsManualSensor': supportsManualSensor,
'supportsManualPostProcessing': supportsManualPostProcessing,
'supportsAutoFocus': supportsAutoFocus,
'supportsOpticalStabilization': supportsOpticalStabilization,
'supportedFpsRanges': supportedFpsRanges,
};
}