FocalLengthInfo
Focal length information supported by the camera, including the camera direction and focal length type.
@JsonSerializable(explicitToJson: true, includeIfNull: false) class FocalLengthInfo { const FocalLengthInfo({this.cameraDirection, this.focalLengthType}); @JsonKey(name: 'cameraDirection') final int? cameraDirection; @JsonKey(name: 'focalLengthType') final CameraFocalLengthType? focalLengthType; factory FocalLengthInfo.fromJson(Map<String, dynamic> json) => _$FocalLengthInfoFromJson(json); Map<String, dynamic> toJson() => _$FocalLengthInfoToJson(this); }
Attention: This enumeration class applies to Android and iOS only.
Parameters
- cameraDirection
- The camera direction. See CameraDirection.
- focalLengthType
- The focal length type. See CameraFocalLengthType.