getHorizontalViewAngle method

Future<double> getHorizontalViewAngle()

Gets the horizontal angle of view in degrees.

Returns -1.0 when the device doesn't report view angle information.

Implementation

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