getFocalLength method

Future<double> getFocalLength()

Gets the focal length (in millimeter) of the camera.

Returns -1.0 when the device doesn't report focal length information.

Implementation

Future<double> getFocalLength() async {
  return await _channel.$getFocalLength(this) as double;
}