FocalLengthInfo
摄像头支持的焦距信息,包含摄像头的方向以及焦距类型。
Dart
(explicitToJson: true, includeIfNull: false)
class FocalLengthInfo {
  const FocalLengthInfo({this.cameraDirection, this.focalLengthType});
  (name: 'cameraDirection')
  final int? cameraDirection;
  (name: 'focalLengthType')
  final CameraFocalLengthType? focalLengthType;
  factory FocalLengthInfo.fromJson(Map<String, dynamic> json) =>
      _$FocalLengthInfoFromJson(json);
  Map<String, dynamic> toJson() => _$FocalLengthInfoToJson(this);
}
注意
 仅适用于 Android 和 iOS。
cameraDirection
 摄像头方向。详见 CameraDirection。
focalLengthType
 焦距类型。详见 CameraFocalLengthType。